From 7bbbd5f5a38e3af5abcf1421b113e633ec74ce05 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sun, 17 Dec 2017 20:11:31 -0600 Subject: [PATCH] .vimrc: Support .vimrc.local --- .gitignore | 5 +++-- .vimrc | 8 ++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 603be03..142387b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,8 @@ .keychain/ .lesshst .ssh/ -.viminfo .vim/.cache/ -.vim/spell/ .vim/plugged/ +.vim/spell/ +.viminfo +.vimrc.local diff --git a/.vimrc b/.vimrc index 89a60f5..5fcea70 100644 --- a/.vimrc +++ b/.vimrc @@ -390,3 +390,11 @@ augroup END let g:manpageview_pgm= 'man -P "/usr/bin/less -is"' let $MANPAGER = '/usr/bin/less -is' + +" -------------------------------------------------------------------------- +" Local Settings +" -------------------------------------------------------------------------- + +if filereadable(glob("~/.vimrc.local")) + source ~/.vimrc.local +endif -- 2.45.2