aboutsummaryrefslogtreecommitdiffstats
path: root/_vim
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-11-20 09:53:25 +0800
committerAaron LI <aly@aaronly.me>2018-11-20 09:53:25 +0800
commit24fcb495eb158eefad3dc900e1821cb67de5617d (patch)
treed119df69ffe042f6337f66f548c98823fed6751c /_vim
parent13739420b7f336316e9f846aa28b079f2ba6acf7 (diff)
downloaddotfiles-24fcb495eb158eefad3dc900e1821cb67de5617d.tar.bz2
vim: Source ~/.vimrc.local if exists
Diffstat (limited to '_vim')
-rw-r--r--_vim/vimrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index 0ad9066..92cbb96 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -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