On Wed, Sep 23, 2009 at 03:41:48AM -0700, viki wrote:
> I am trying to print some info to screen at VimLeave, (console vim)
> such that it is visible after (console) vim exit to shell. For
> example, something like this:
> .vimrc:
>     au VimLeave * :call PrintAtExit()
>     function! PrintAtExit()
>         echo "bye-bye"
>         !echo bye-bye
>     endfun
> 
> Expecting
> 
>    $ vim foo
>    ZZ
>    bye-bye
> 
> But "bye-bye" does not appear. Anybody has an idea how to print
> in VimLeave  so that it's visible after vim quit to shell ?
> 

It works for me, showing:
:!echo bye-bye
bye-bye


There follows my :version snippet:

VIM - Vi IMproved 7.1 (2007 May 12, compiled Feb 11 2008 13:59:14)
Included patches: 1-242
Modified by <[email protected]>
Compiled by <[email protected]>
Huge version without GUI.  Features included (+) or not (-):


HTH,
Cheng


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to