Quantcast
Channel: How to get rid of the warnings when opening a file that has a .swp file? - Super User
Viewing all articles
Browse latest Browse all 8

Answer by bishop for How to get rid of the warnings when opening a file that has a .swp file?

$
0
0

How can I get rid of the annoying warnings when I open a file that has a .swp file?

Use the short message option in your ~/.vimrc:

set shortmess=A

Which is also the default when running POSIX mode.

However, do not do this: it's like removing your car's air bags to increase fuel efficiency. In the long run, you'll spend more time recovering than you ever did answering the question.


Viewing all articles
Browse latest Browse all 8

Trending Articles