Browse files

Add internal script vim folder in runtimepath

  • Loading branch information...
1 parent 1504fd3 commit 840ec91ecb900a9e5b43143e8d1ab0a56c76b6bc @greydet committed Nov 7, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
@@ -25,6 +25,11 @@ let customVimrcFilePath= expand("$HOME/.vimrc.custom")
" Misc configuration
+" Add internal vim script folder in vim runtimepath
+" For this to work the repository must have been cloned in a vimrc folder in the user home directory
+if filereadable(expand("$HOME/vimrc/vimrc"))
+ let &runtimepath.=','.expand("$HOME/vimrc/vim")
set noswapfile " Do not create any swap file for openned files

0 comments on commit 840ec91

Please sign in to comment.