Monday, July 14, 2014

Re: autosaving buffer content

On Saturday, July 12, 2014 06:16:52 PM Salman Halim wrote:
> On Saturday, July 12, 2014, Arup Rakshit <aruprakshit@rocketmail.com> wrote:
> > Hi,
> >
> > I am looking for a way, suppose I am working on 4 different windows.
> > Whenever I
> > will move from one window to another window, that data to that window
> > should
> > be saved to the associated file. Is this possible ?
>
> au WinLeave * upd
>
> Salman

I put in my ~/.vimrc file

au FocusLost * wa

But it is not working. When ever I am opening Gvim getting error :-

arup@linux-wzza:~/Ruby> gvim

--- Auto-Commands ---
arup@linux-wzza:~/Ruby>


--
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore,
if you write the code as cleverly as possible, you are, by definition, not
smart enough to debug it.

--Brian Kernighan

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment