Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

the minute I've read it I went and set the noswapfile option. I don't care if vim crashes, I save all the time. if it crashes I will just repeat the last edit. The stale swapfiles etc has caused me more time wasted over the years then lost edits.

But, I soon realized that noswapfile has another problem which caused me to disable it after all: it will allow you to open same file in more then one vim editor instance. And this is really asking for troubles.

It is less of a problem with graphical vim as you can use "autoread" to sync changes between instances, but it is a disaster on console.



I too very much happy after getting these two option. By looking those swap file and backup file I started hating vim. Why on earth it is creating all the un-necessary stuffs (though they useful at some case). Now for newbie like me I love this tips :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: