VIM Question: When a .swp file exists, is it possible to add a "(D)elete" option
Many times when I lose conn开发者_Go百科ection to my development server, I just log back in and have a .swp file to deal with when I re-open. Does vim have a mod to allow deleting by initial prompt?
Thanks
I do have that option when a .swp file exists...
Swap file ".tjohej.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Perhaps a version thing? I've got.. VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jan 14 2010 06:43:50) Included patches: 1-330
I use the shortmess option to avoid the Attention Message.
set shortmess+=A
精彩评论