[vim] Ability to use the .vimrc.local
This commit is contained in:
parent
15e2ce5cf9
commit
d6763ca8e8
12
.vimrc
12
.vimrc
@ -420,6 +420,18 @@ map <S-F9> :GitGutterLineHighlightsToggle <CR>
|
||||
|
||||
nnoremap <silent> <leader>k :SetLinuxFormatting<cr><cr>
|
||||
|
||||
""""""""""
|
||||
" LocalConfig
|
||||
""""""""""
|
||||
|
||||
if filereadable(expand('~/.vimrc.local'))
|
||||
" Plugins list and settings should be loaded
|
||||
" only once. Load local_settings block
|
||||
let g:local_plugins = 0
|
||||
let g:local_settings = 1
|
||||
source ~/.vimrc.local
|
||||
endif
|
||||
|
||||
"""""""""
|
||||
" Plugin"
|
||||
"""""""""
|
||||
|
Loading…
Reference in New Issue
Block a user