From 07ca0bae3d425449314af64005855c5af8d534ac Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 9 Jun 2012 11:30:55 -0500 Subject: [PATCH] .vimrc: Cleanup pathogen init and misc cleanup --- .vimrc | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/.vimrc b/.vimrc index 34354a5..2a83325 100644 --- a/.vimrc +++ b/.vimrc @@ -11,8 +11,13 @@ set viminfo='1000,f1,:100,@100,/20 set modeline " make sure modeline support is enabled set autoread " reload files (no local changes only) -call pathogen#infect() " enable pathogen (plugin bundles) -filetype plugin indent on " load filetype plugin +" --------------------------------------------------------------------------- +" Pathogen Init (Bundles) +" --------------------------------------------------------------------------- +filetype off +call pathogen#infect() +call pathogen#helptags() +filetype plugin indent on " enable plugins, detection and indenting in one step " --------------------------------------------------------------------------- " Colors / Theme @@ -74,7 +79,6 @@ highlight SpecialKey ctermfg=DarkGray ctermbg=Black set nobackup " do not keep backups after close set nowritebackup " do not keep a backup while working -"set noswapfile " don't keep swp files either set backupdir=$HOME/.vim/backup " store backups under ~/.vim/backup set backupcopy=yes " keep attributes of original file set backupskip=/tmp/*,$TMPDIR/*,$TMP/*,$TEMP/* @@ -87,7 +91,8 @@ set directory=.,~/tmp,~/.vim/swap " swap file directory-order set ruler " show the cursor position all the time set showcmd " display incomplete commands set nolazyredraw " turn off lazy redraw -"set number " line numbers +set hidden " keep buffers loaded when hidden +set showmode " show mode at bottom of screen set wildmenu " turn on wild menu set wildmode=list:longest,full set cmdheight=2 " command line height @@ -144,7 +149,6 @@ let mapleader = "," " to pastetoggle, to turn-off autoindent when pasting from system clipboard nnoremap :set invpaste paste? set pastetoggle= -set showmode "" /- to navigation between buffers if version >= 700 @@ -191,19 +195,6 @@ nnoremap l au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g'\"" | endif -" ---------------------------------------------------------------------------- -" LookupFile -" ---------------------------------------------------------------------------- - -"let g:LookupFile_TagExpr = '".ftags"' -"let g:LookupFile_MinPatLength = 2 -"let g:LookupFile_ShowFiller = 0 " fix menu flashiness -"let g:LookupFile_PreservePatternHistory = 1 " preserve sorted history? -"let g:LookupFile_PreserveLastPattern = 0 " start with last pattern? -" -"nmap LookupFile -"imap LookupFile - " ---------------------------------------------------------------------------- " PATH on MacOS X " ---------------------------------------------------------------------------- -- 2.45.2