]> code.delx.au - dotfiles/blobdiff - .vim/state.vim
bash: reorder initialisation
[dotfiles] / .vim / state.vim
index 4c65af77225e1f9a59ad576eba1bf66aaa75127c..9df6ea696c6908331cd4d13f83782c30a91423b3 100644 (file)
@@ -11,10 +11,10 @@ set history=100
 set backup
 " create ~/tmp/vimbak if it doesn't exist and use it to save the backups
 if has("unix")
-       if !isdirectory(expand("~/tmp/vimbak/."))
-               !mkdir -p ~/tmp/vimbak
-       endif
-       set backupdir=~/tmp/vimbak
+    if !isdirectory(expand("~/tmp/vimbak/."))
+        !mkdir -p ~/tmp/vimbak
+    endif
+    set backupdir=~/tmp/vimbak
 endif
 
 " Create backups by copying files to backup directory instead of renaming