]> git.rmz.io Git - dotfiles.git/commitdiff
Revert "move pathogun infect into plugin fold"
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 29 Oct 2013 00:50:49 +0000 (01:50 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 29 Oct 2013 00:50:49 +0000 (01:50 +0100)
This reverts commit 35ca5caca774eb5ea517156aebdd4e95a5129d8f.

Some plugin restores cursor position. I don't want that for gitcommit
filetypes.
It also makes a lot of sense to infect vim first and do any
customisation later.

vimrc

diff --git a/vimrc b/vimrc
index 7844cbb298e4757946572ced9f5bcd83217d9674..243745e479041713308ef938376d415224a073e7 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -5,6 +5,9 @@
 
 filetype plugin indent on
 
+" pathogen.vim runtime path manipulation
+silent! call pathogen#infect()
+
 " moving around, searching and patterns {{{1
 set incsearch           " show match for partly typed search command
 set ignorecase          " ignore case when using a search pattern
@@ -185,8 +188,6 @@ set virtualedit=block           " let cursor move past last char in <C-V> mode
 set viminfo='100,<50,s10,h,n~/.vim/viminfo " viminfo defaults but save file in .vim
 
 " plugins {{{1
-silent! call pathogen#infect()  " pathogen.vim runtime path manipulation
-
 " airline {{{2
 let g:airline_detect_whitespace=2
 let g:airline_whitespace_symbol = 'Ξ'