use $MYVIMEFILES instead of $VIMHOME

This commit is contained in:
Josh Holtrop 2012-12-09 12:00:39 -05:00
parent a0bff60737
commit abec7a83db

4
vimrc
View File

@ -1,7 +1,7 @@
"==============================================================================
" General Settings
"==============================================================================
let $VIMHOME=fnamemodify(resolve(expand("<sfile>")), ":p:h")
let $MYVIMFILES=fnamemodify(resolve(expand("<sfile>")), ":p:h")
set nocompatible
syntax enable
filetype plugin indent on
@ -15,7 +15,7 @@ set softtabstop=4
set ruler
set showmatch
if has("persistent_undo")
set undodir=$VIMHOME/undo
set undodir=$MYVIMFILES/undo
set undofile
endif
set mouse=a