Answer by kintsukuroi for How to get rid of the warnings when opening a file...
This happened to me when my terminal unexpectedly closed my connection with vi open.Thankfully I had no changes lost. To remove that warning and discard the swap:Find the process id looking at process...
View ArticleAnswer by bishop for How to get rid of the warnings when opening a file that...
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=AWhich is also the default when running POSIX...
View ArticleAnswer by Ankur Srivastava for How to get rid of the warnings when opening a...
I have solved this issue in three simple steps :1:) Run "ls -la" where the file exist so that you can view the .swp file for the same.2:) Now "rm -i *.swp" i.e., remove the ".swp" file from the...
View ArticleAnswer by Brad Parks for How to get rid of the warnings when opening a file...
You can use -n to open vim without using a swapfile:To do this all the time, just put alias vim='vim -n'in your .bashrc or .bash_aliases fileif you ever need to run vim without the -n option, just run\vim
View ArticleAnswer by user664833 for How to get rid of the warnings when opening a file...
This message is actually pretty important if you care about not losing text you've potentially not saved. It should not be considered annoying, and should not cause you to hastily delete the swap file...
View ArticleAnswer by Heptite for How to get rid of the warnings when opening a file that...
The pasted message suggests you still have the "notes" file open in another Vim session. It is definitely not a good idea to edit a file that is being edited elsewhere.If that message is wrong, you...
View ArticleAnswer by Ignacio Vazquez-Abrams for How to get rid of the warnings when...
vim will remove the generated .swp file when you exit it properly.
View ArticleHow to get rid of the warnings when opening a file that has a .swp file?
How can I get rid of the annoying warnings when I open a file that has a .swp file? Or, how do I not generate the .swp files at all? Example warning:E325: ATTENTIONFound a swap file by the name...
View Article