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