tags:

views:

78

answers:

2

Many times when I lose connection 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

+5  A: 

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

RymdPung
+1  A: 

I use the shortmess option to avoid the Attention Message.

set shortmess+=A

cstr