> Now, when you open a file "./file.txt" such that the swap file exists (it
> usually has the name "./.file.txt.swp" or "./.file.txt.swo" if the first name
> already existed, which means you already ignored one swap file) then vim gives
> you the swap exists message with several choices:
> 'o' Open read-only
> 'e' Edit anyway
> 'r' Recover
> 'd' Delete swapfile
> 'q' Quit
> 'a' Abort
> where 'o' and 'e' will read the "./file.txt" and vim will create for it a new
> swap file (usually "./.file.txt.swo" since "./.file.txt.swp" already exists on
> your disc), the 'r' (Recover) will couse vim to read the "./.file.txt.swp"
> file (which should be more recent than the actual file "./file.txt"), 'd' will
> delete the swap file (usually you don't want this, unless you know that the
> disc file is the one that you want), 'q' will quit vim and 'a' will abort the
> operation (vim will still run).
Thanks, Marcin. This is very helpful. For now, at least, I'm taking it that most of the time, to be on the safe side, 'r' would be the best choice.
And I'll read the help file on the topics you recommended and check out the links you included.
Sincerely,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA
eeweir@bellsouth.net
"Everywhere the crisis of the private financial system
has been transformed into a tale of slovenly and overweening government
that perpetuates and is perpetuated by a dependent and demanding population."
- Marilynne Robinson
--
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