changeset 618:fb9d19959976

Support for local vimrc file
author nanaya <me@nanaya.pro>
date Mon, 09 Jul 2018 16:06:13 +0900
parents ecdf8eeca3ee
children 7045cd713864
files rc/vimrc
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rc/vimrc	Mon Jul 09 16:06:00 2018 +0900
+++ b/rc/vimrc	Mon Jul 09 16:06:13 2018 +0900
@@ -183,3 +183,8 @@
     let &titlestring = $user
   endif
 endif
+
+let $VIMHOME = expand('%:p:h')
+if filereadable($VIMHOME."/.vimrc.local")
+  source $VIMHOME/.vimrc.local
+endif