开发者

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

开发者 https://www.devze.com 2022-12-23 06:41 出处:网络
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?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消