diff --git a/plugin/commands.vim b/plugin/commands.vim index fef798e..8d423ba 100644 --- a/plugin/commands.vim +++ b/plugin/commands.vim @@ -26,3 +26,6 @@ command! CursorHighlightGroups call do#cursor_highlight_groups() " Setup and invoke a :TermdebugCommand command! -nargs=+ -complete=file Debug call do#debug() + +" Find all TODO items in the current file and populate the location list +command! TodoFile lvimgrep /todo/ %