Blog Untuk Semua

Everything for Everyone

VIM Swap and Backup files

Tinggalkan komentar

If you are programming in a enterprise enviroment and come from a linux background, I bet you have ran into the situation where you arn’t sure if VIM is going to leave trash files around.
VIM on many different types of installations will create both swap files and backup files.
How to disable VIM swap and backup files:

Go into your .vimrc file. Add these lines to the bottom –

:set nobackup
:set nowritebackup
:set noswapfile

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s