Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

.vimrc: backup files only when successfully written

  • Loading branch information...
commit 16fd0ad68caf8cf44b0e0f117ba40b132a2b6c66 1 parent c0d1dd5
@jsynacek authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 vimrc
View
9 vimrc
@@ -11,11 +11,10 @@
set autoread
set history=1000
- "" backup file related settings
- set backup
- "" store backup files centrally
- " TODO not exactly a good IDEA
- " set backupdir=$HOME/.vim/bak
+ "" backup files only until successfully written
+ set nobackup
+ set writebackup
+
"" store swap files centrally
set directory=$HOME/.vim/tmp
"" automatically writes when changing files.
Please sign in to comment.
Something went wrong with that request. Please try again.