diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c950738 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +undo/* diff --git a/undo/.gitkeep b/undo/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/vimrc b/vimrc index d850517..742e882 100644 --- a/vimrc +++ b/vimrc @@ -1,6 +1,7 @@ "============================================================================== " General Settings "============================================================================== +let $VIMHOME=fnamemodify(resolve(expand("")), ":p:h") set nocompatible syntax enable filetype plugin indent on @@ -14,8 +15,8 @@ set softtabstop=4 set ruler set showmatch if has("persistent_undo") - "set undodir=$VIMHOME/undo - "set undofile + set undodir=$VIMHOME/undo + set undofile endif set mouse=a set hlsearch