Tuesday, September 7, 2010

Re: disable file locks ?

Hi, Gary
> Vim doesn't lock files. Why do you think Vim locks files?
Ah , should be swap files .. ;-)

> You might be seeing the effect of a Vim swap file that was left when
> Vim was terminated. That is a feature. It allows you to recover a
> file that was being edited when Vim terminated unexpectedly. You
> can prevent Vim from creating swap files, but that would be a bad
> idea. The swap file not only allows Vim to recover from crashes but
> also allows Vim to warn you when you attempt to edit the same file
> in two instances of Vim.
>
> The solution in your case would be to close Vim instead of closing
> Konsole when you're through editing the file.
Thanks for detailed explanation firstly.

I'm ah .. kinda lazy somehow , it's fine to quit vim before konsole is
closed.

Anyway , i'm just looking for a nice solution ;-)


--
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4R0NL3WI5 on freenode

--
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

No comments:

Post a Comment