1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-18 09:53:22 -07:00

remove vimrc hacks i haven't needed in a decade

This commit is contained in:
Connor Olding 2022-09-08 00:07:57 -07:00
parent b7a9d7803d
commit db457e3d11

View File

@ -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