commit 49d8dc3251c7f9fbe764df8782a21485ac7bc318 parent da7e00192ae91a0cc109db39671f346e0bd88cf7 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Thu, 10 Jan 2019 12:40:37 +0100 Commands: Todo/Fixme search in file or project Former-commit-id: 7bbb3b743fe255d29e535551f9d868e35727240a Diffstat:
M | vim/commands.vimrc | | | 9 | ++++++--- |
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/vim/commands.vimrc b/vim/commands.vimrc @@ -1,7 +1,10 @@ " Custom commands -command! Todo vimgrep /TODO\C<Bslash><Bar>TO DO\C/ **/*.* | copen -command! Note vimgrep /NOTE\C/ **/*.* | copen -command! Fix vimgrep /FIXME\C/ **/*.* | copen +command! TodoP vimgrep /TODO\C<Bslash><Bar>TO DO\C/ **/*.* | copen +command! Todo vimgrep /TODO\C<Bslash><Bar>TO DO\c/ % | copen +command! NoteP vimgrep /NOTE\C/ **/*.* | copen +command! Note vimgrep /NOTE\C/ % | copen +command! FixP vimgrep /FIXME\C/ **/*.* | copen +command! Fix vimgrep /FIXME\C/ % | copen command! ListFileTypes echo glob($VIMRUNTIME . '/syntax/*.vim') command! CDC cd %:p:h command! Maketab set noet ts=2 | %retab!