Skip to content

Commit

Permalink
Merge pull request carlhuda#313 from aniero/bugfix/vimrc_after_load_o…
Browse files Browse the repository at this point in the history
…rder

Load .vimrc.after after the janus core plugins
  • Loading branch information
kalbasit committed Dec 10, 2011
2 parents 138b8b0 + 43e6a1a commit b894f9f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 8 additions & 0 deletions janus/vim/core/after/plugin/vimrc_after.vim
@@ -0,0 +1,8 @@
" Customization
"
" This loads after the janus plugins so that janus-specific plugin mappings can
" be overwritten.

if filereadable(expand("~/.vimrc.after"))
source ~/.vimrc.after
endif
10 changes: 2 additions & 8 deletions janus/vim/vimrc
Expand Up @@ -2,7 +2,7 @@
"" Janus setup
""

" Define pathes
" Define paths
let g:janus_path = fnamemodify(resolve(expand("<sfile>:p")), ":h")
let g:janus_vim_path = fnamemodify(resolve(expand("<sfile>:p" . "vim")), ":h")

Expand Down Expand Up @@ -38,10 +38,4 @@ endif
" Load all groups
call janus#load_pathogen()

""
"" Customizations
""

if filereadable(expand("~/.vimrc.after"))
source ~/.vimrc.after
endif
" .vimrc.after is loaded after the plugins have loaded

0 comments on commit b894f9f

Please sign in to comment.