stormist
stormist

Reputation: 5905

VIM Question: When a .swp file exists, is it possible to add a "(D)elete" option

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

Upvotes: 2

Views: 1240

Answers (2)

cstr
cstr

Reputation: 21

I use the shortmess option to avoid the Attention Message.

set shortmess+=A

Upvotes: 2

Hannes
Hannes

Reputation: 1971

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

Upvotes: 6

Related Questions