mirror of
https://github.com/notwa/rc
synced 2024-11-05 06:49:03 -08:00
remove vimrc hacks i haven't needed in a decade
This commit is contained in:
parent
b7a9d7803d
commit
db457e3d11
1 changed files with 1 additions and 11 deletions
12
home/vimrc
12
home/vimrc
|
@ -10,17 +10,7 @@ if has('multi_byte')
|
|||
set encoding=utf-8 " and the default file is in it
|
||||
endif
|
||||
|
||||
if has("win32")
|
||||
" assume directory structure:
|
||||
" something/anything/.vimrc " this was passed to vim by the -u switch
|
||||
" something/vim/
|
||||
" something/vim/after
|
||||
let $MYVIMRC=expand('<sfile>')
|
||||
let g:rcvim=expand('<sfile>:p:h:h').'/vim'
|
||||
else
|
||||
let g:rcvim=$HOME.'/.vim'
|
||||
endif
|
||||
|
||||
let g:rcvim=$HOME.'/.vim'
|
||||
let &backupdir=g:rcvim.'/backup' " stash tilde files elsewhere
|
||||
" using a double slash here enables file path inclusion for uniqueness:
|
||||
let &directory=g:rcvim.'/swp//' " stash swap files too
|
||||
|
|
Loading…
Reference in a new issue