diff --git a/vimrc b/vimrc index 8b94c44..3d77274 100644 --- a/vimrc +++ b/vimrc @@ -199,7 +199,7 @@ nnoremap l :ls:b let g:ctrlp_max_files = 10000 " Workflowish stuff. Search for #todo -nnoremap T :vimgrep /#todo/i %:copen:30wincmd _ +nnoremap T :vimgrep /\v^\s*\*+.*#todo.*/i %:copen:30wincmd _ " Quickly switch back to quickfix nnoremap f :copen