From 24fcb495eb158eefad3dc900e1821cb67de5617d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 20 Nov 2018 09:53:25 +0800 Subject: vim: Source ~/.vimrc.local if exists --- _vim/vimrc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '_vim/vimrc') 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 -- cgit v1.2.2