summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-05-20 22:57:19 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-05-21 14:48:45 +0200
commit67867faf812dbd0f050081d0fee5f566fc26a9e4 (patch)
treef8957c6234adbe27d25709ae9660aa25b1a41df6
parent9b626a966d30c45262b554129f90e14788f3f5d3 (diff)
downloaddotfiles-67867faf812dbd0f050081d0fee5f566fc26a9e4.tar.gz
dotfiles-67867faf812dbd0f050081d0fee5f566fc26a9e4.tar.xz
dotfiles-67867faf812dbd0f050081d0fee5f566fc26a9e4.zip
Vim config: update way of using pathogen.vim
See https://github.com/tpope/vim-pathogen/commit/532f0ca7d936f1229b926b73e84012a78c4f9800 Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--.vimrc14
1 files changed, 6 insertions, 8 deletions
diff --git a/.vimrc b/.vimrc
index fbda02d..39c8780 100644
--- a/.vimrc
+++ b/.vimrc
@@ -16,19 +16,17 @@ highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE
noremap <C-left> :bprev<CR>
noremap <C-right> :bnext<CR>
-" don't remember why temporarily off
-filetype off
-call pathogen#infect()
-call pathogen#infect('~/.vim/vim4projects/{}')
-call pathogen#helptags()
+execute pathogen#infect()
+execute pathogen#infect('~/.vim/vim4projects/{}')
+":Helptags
+
+syntax on
+filetype plugin indent on
" NERDTree
let NERDTreeIgnore = ['\.pyc$', '\.tar\.gz$']
-filetype plugin indent on
-syntax on
-
" powerline
set laststatus=2 " Always show the statusline
set noshowmode " Remove -- INSERT -- etc. redundancy