From b4656686ee3ef3be0597288dab6f8650e7fe8c24 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Tue, 30 Jul 2013 12:40:43 -0700 Subject: [PATCH] Some comments describing what each Bundle is as well as a few changed bundles Need to clean out packages I don't use anymore in my workflow --- vim/dot_vimrc | 56 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/vim/dot_vimrc b/vim/dot_vimrc index 44e5760..4acaeb0 100644 --- a/vim/dot_vimrc +++ b/vim/dot_vimrc @@ -11,33 +11,46 @@ Bundle 'gmarik/vundle' " Rest of my bundles " -- File Nav -- +" Quick find files in project Bundle 'kien/ctrlp.vim' +" File tree navigation Bundle 'scrooloose/nerdtree' -Bundle 'ViViDboarder/a.vim' +" Switch to alternate file +Bundle 'a.vim' +" Allow opening to a line from file name using : Bundle 'file-line' +" Git integration Bundle 'tpope/vim-fugitive' " Needs Vim compiled with Ruby +" Quick find files in project Bundle 'wincent/Command-T' " -- Buffer Nav -- -Bundle 'kien/tabman.vim' +" Tree view for managing tabs +"Bundle 'kien/tabman.vim' +" Quick buffer switching Bundle 'sandeepcr529/Buffet.vim' " Needs Vim compiled with Ruby -Bundle 'mutewinter/LustyJuggler' +" Buffer toggler +"Bundle 'mutewinter/LustyJuggler' " -- Nav in file -- +" Ctags file parsing Bundle 'taglist.vim' " Syntax checking Bundle 'scrooloose/syntastic' " Project Searching Bundle 'mileszs/ack.vim' " Easy Toggle of QuickFix window -Bundle 'sunaku/QFixToggle' +Bundle 'ViViDboarder/QFixToggle' " -- Text Manipulation -- +" Easy comments Bundle 'tomtom/tcomment_vim' " Surround for wrapping text Bundle 'tpope/vim-surround' +" Multi cursor +Bundle 'terryma/vim-multiple-cursors' " -- GUI -- Bundle 'vividchalk.vim' @@ -127,6 +140,9 @@ nmap ln :set invnumber nmap :set wrap! nmap lw :set wrap! +"Toggle White Space +nmap ws :set list! + "Allows filetype detection filetype on @@ -141,25 +157,31 @@ nnoremap "Buffet shortcut nnoremap :Bufferlist +nnoremap bl :Bufferlist "Tab Man shortcut -nnoremap :TMToggle +"nnoremap :TMToggle "LustyJugler settings -let g:LustyJugglerShowKeys=1 "Show numbers for Lusty Buffers -let g:LustyJugglerSuppressRubyWarning=1 -nnoremap :LustyJuggler -nnoremap . :LustyJugglePrevious +"let g:LustyJugglerShowKeys=1 "Show numbers for Lusty Buffers +"let g:LustyJugglerSuppressRubyWarning=1 +"nnoremap :LustyJuggler +"nnoremap . :LustyJugglePrevious "NERDTree nnoremap :NERDTreeToggle nnoremap nn :NERDTreeToggle nnoremap nf :NERDTreeFind +"NERDComments +nnoremap // :TComment +vnoremap // :TCommentBlock + "CTags List -nnoremap :TlistToggle -let Tlist_Exit_OnlyWindow=1 -let Tlist_Winwidth=30 +"nnoremap :TlistToggle +"let Tlist_Exit_OnlyWindow=1 +"let Tlist_Winwidth=30 +nnoremap :TagbarToggle "Syntax Hightlighting syntax on @@ -221,7 +243,13 @@ if has('ruby') " Leader Commands nnoremap t :CommandT - nnoremap b :CommandTBuffer + nnoremap tb :CommandTBuffer + nnoremap tt :CommandTTag + + if has("gui_macvim") + "macmenu &File.New\ Tab key= + "map :CommandT + endif else " -------- " Use ctrlp.vim since we don't have Ruby @@ -235,7 +263,7 @@ else endif " Leader Commands - nnoremap t :CtrlPRoot + "nnoremap t :CtrlPRoot nnoremap b :CtrlPBuffer endif