Permalink
Browse files

Don't override existing :Vedit commands

Guess what my next plugin is going to be.
  • Loading branch information...
1 parent 96b5726 commit 49e6d62fb1712aa12161193fc55c6af8f27b6131 @tpope committed Nov 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 autoload/pathogen.vim
View
4 autoload/pathogen.vim
@@ -196,6 +196,10 @@ function! pathogen#fnameescape(string) " {{{1
endif
endfunction " }}}1
+if exists(':Vedit')
+ finish
+endif
+
function! s:find(count,cmd,file,lcd) " {{{1
let rtp = pathogen#join(1,pathogen#split(&runtimepath))
let file = pathogen#runtime_findfile(a:file,a:count)

0 comments on commit 49e6d62

Please sign in to comment.