简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM