Quantcast
Channel: How to get rid of the warnings when opening a file that has a .swp file? - Super User
Viewing all articles
Browse latest Browse all 8

How to get rid of the warnings when opening a file that has a .swp file?

$
0
0

How can I get rid of the annoying warnings when I open a file that has a .swp file? Or, how do I not generate the .swp files at all? Example warning:

E325: ATTENTIONFound a swap file by the name ".notes.swp"          owned by: james   dated: Fri Dec  3 17:38:07 2010         file name: ~james/school/se/project-dir/rottencucumber/doc/notes          modified: no         user name: james   host name: james-laptop        process ID: 2251 (still running)While opening file "notes"             dated: Fri Dec  3 18:46:10 2010      NEWER than swap file!(1) Another program may be editing the same file.    If this is the case, be careful not to end up with two    different instances of the same file when making changes.    Quit, or continue with caution.(2) An edit session for this file crashed.    If this is the case, use ":recover" or "vim -r notes"    to recover the changes (see ":help recovery").    If you did this already, delete the swap file ".notes.swp"    to avoid this message.Swap file ".notes.swp" already exists![O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:

Viewing all articles
Browse latest Browse all 8

Trending Articles