Add option to source vimrc.local-pre, for adding Plugins near the beginning

Sat, 20 Sep 2014 14:14:04 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 20 Sep 2014 14:14:04 -0400
changeset 144
46c87d5ef8bf
parent 142
d0d2b54e855f
child 145
a7be2cafd6d7

Add option to source vimrc.local-pre, for adding Plugins near the beginning

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -84,6 +84,15 @@ end
   Plugin 'yko/mojo.vim'
 
 
+  try
+    if on_windows == 1
+      source ~/_vimrc.local-pre
+    else
+      source ~/.vimrc.local-pre
+    endif
+  catch
+  endtry
+
   if installed_vundle == 1
     echo "Installing Plugins, please ignore key map error messages"
     echo ""

mercurial