changeset 619:7045cd713864

Simpler variable
author nanaya <me@nanaya.pro>
date Mon, 09 Jul 2018 16:08:46 +0900
parents fb9d19959976
children 7ac088ee101a
files rc/vimrc
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rc/vimrc	Mon Jul 09 16:06:13 2018 +0900
+++ b/rc/vimrc	Mon Jul 09 16:08:46 2018 +0900
@@ -184,7 +184,6 @@
   endif
 endif
 
-let $VIMHOME = expand('%:p:h')
-if filereadable($VIMHOME."/.vimrc.local")
-  source $VIMHOME/.vimrc.local
+if filereadable($HOME."/.vimrc.local")
+  source $HOME/.vimrc.local
 endif