use $MYVIMEFILES instead of $VIMHOME
This commit is contained in:
parent
a0bff60737
commit
abec7a83db
4
vimrc
4
vimrc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user