diff options
author | Aaron LI <aly@aaronly.me> | 2018-11-20 09:53:25 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-11-20 09:53:25 +0800 |
commit | 24fcb495eb158eefad3dc900e1821cb67de5617d (patch) | |
tree | d119df69ffe042f6337f66f548c98823fed6751c | |
parent | 13739420b7f336316e9f846aa28b079f2ba6acf7 (diff) | |
download | dotfiles-24fcb495eb158eefad3dc900e1821cb67de5617d.tar.bz2 |
vim: Source ~/.vimrc.local if exists
-rw-r--r-- | _vim/vimrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -7,6 +7,8 @@ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => General """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +set nocompatible + " Sets how many lines of history VIM has to remember set history=500 @@ -338,3 +340,11 @@ function! VisualSelection(direction, extra_filter) range let @/ = l:pattern let @" = l:saved_reg endfunction + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Local configurations +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +if filereadable("~/.vimrc.local") + source ~/.vimrc.local +endif |