diff --git a/vimrc b/vimrc index 122a1a0..2c9530b 100644 --- a/vimrc +++ b/vimrc @@ -40,6 +40,8 @@ Bundle 'coderifous/textobj-word-column.vim' " Bundle 'myusuf3/numbers' " Bundle 'benmills/vimux' " Bundle 'kikijump/tslime.vim' +Bundle 'lukaszkorecki/workflowish' +Bundle 'searchfold.vim' " Snipmate " Bundle 'MarcWeber/vim-addon-mw-utils' @@ -104,7 +106,7 @@ set smartcase " if we include uppercase, it will be case sensitive set showmatch " matching brackets set matchtime=2 " blink brackets " turn off highlighting -nnoremap :noh +nnoremap :noh " regex " thanks stevelosh set magic @@ -153,7 +155,7 @@ let g:Powerline_symbols='fancy' "let NERDTreeDirArrows=1 " Tagbar -nnoremap t :TagbarToggle +nnoremap t :TagbarToggle " disable tagbar in old Vim if v:version < 703 let g:loaded_tagbar=1 @@ -173,7 +175,7 @@ nnoremap s :SyntasticToggleMode " let g:SuperTabDefaultCompletionType="context" " open the current file for edit in Perforce -nnoremap 4 :! p4 edit % +nnoremap 4 :! p4 edit % " open vsplit and switch to it nnoremap v vl @@ -198,3 +200,7 @@ nnoremap l :ls:b " Set the max files let g:ctrlp_max_files = 10000 + +" Workflowish stuff. Search for #todo +nnoremap T :vimgrep /\v^\s*\*+.*#todo.*/i %:copen:30wincmd _ +nnoremap TT /\v^\s*\*+.*#todo.*/i