Read ~/.vim/vimrc.local if existing.

This commit is contained in:
Gea-Suan Lin
2022-06-24 12:38:42 +08:00
parent ea959cb285
commit 6ce52965b2

View File

@@ -109,3 +109,8 @@ au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|
autocmd BufEnter * silent! lcd %:p:h autocmd BufEnter * silent! lcd %:p:h
autocmd BufReadPost COMMIT_EDITMSG exe "normal! gg" autocmd BufReadPost COMMIT_EDITMSG exe "normal! gg"
map <C-n> :NERDTreeToggle<CR> map <C-n> :NERDTreeToggle<CR>
"
" Local
if filereadable("~/.vim/vimrc.local")
source ~/.vim/vimrc.local
endif