Most modern Linux distributives set creation of backup files in vim by default. Probably it's useful in some particular cases (imho, it's better to make a backup for very important files yourself), but I lose my mind when I see the files like "textfile.txt~" everywhere I've edited a file.
To turn off the default backup add set nobackup to /etc/vim/vimrc or to your own vim config (in your home directory).
A bit about
Hello, everyone! All you can see below is just my bank of information. Some material I've found in the fathomless net, some I've learned myself. Don't think all of the information here is right or actual, but may be it could be of use for you :) All feedback is welcome, especially constructive ones :)
Tuesday, February 24, 2009
Disable backup in VIM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment