From: Samir Benmendil Date: Tue, 29 Oct 2013 00:50:49 +0000 (+0100) Subject: Revert "move pathogun infect into plugin fold" X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/4d4f8b6b0bdb7546c24b8557e583804ee7c1d559?ds=inline Revert "move pathogun infect into plugin fold" 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. --- diff --git a/vimrc b/vimrc index 7844cbb..243745e 100644 --- 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 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 = 'Ξ'