1
0
Эх сурвалжийг харах

Added supoprt for ~/.vimrc_local file

Taddeus Kroes 11 жил өмнө
parent
commit
5e73c0da5f
1 өөрчлөгдсөн 9 нэмэгдсэн , 1 устгасан
  1. 9 1
      vimrc

+ 9 - 1
vimrc

@@ -54,7 +54,7 @@ set wildignore=*.swp,*.bak,*.pyc,*.class,*.o,*.bc
 
 " File explorer
 let g:netrw_liststyle=3  " Use tree-mode as default view
-let g:netrw_preview=1    " Preview window shown in a vertically split
+let g:netrw_preview=1    " Preview window shown in a vsplit
 
 " ---------
 " Searching
@@ -135,3 +135,11 @@ autocmd BufNewFile,BufRead *.less set filetype=less
 
 " Highlight and underline badly spelled words when spellcheck is on
 highlight SpellBad guisp=#fcaf3e cterm=underline
+
+" -----------------------
+" Additional local config
+" -----------------------
+
+if filereadable($HOME . '/.vimrc_local')
+    source ~/.vimrc_local
+endif