commit 6a423c5b43f80ad11216b18fd98a215c1ff57a39 parent 643e9ed66b9eda08af099482aa98c0db29b9670d Author: Alex Balgavy <a.balgavy@gmail.com> Date: Thu, 25 Apr 2019 12:27:48 +0200 Improved :Todo in vim Former-commit-id: 037b00109efc10d1f9941410220849d3b31b0f55 Diffstat:
M | vim/commands.vimrc | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/vim/commands.vimrc b/vim/commands.vimrc @@ -146,8 +146,10 @@ endfunction " }}} " Custom commands -command! TodoP vimgrep /TODO\C<Bslash><Bar>TO DO\C/ **/*.* | copen -command! Todo vimgrep /TODO\C<Bslash><Bar>TO DO\c/ % | copen +command! Light set background=light +command! Dark set background=dark +command! TodoP vimgrep /^ *[#%\/E]* *\(TODO\|TO DO\)/ **/*.* | copen +command! Todo vimgrep /^ *[#%\/E]* *\(TODO\|TO DO\)/ % | copen command! NoteP vimgrep /NOTE\C/ **/*.* | copen command! Note vimgrep /NOTE\C/ % | copen command! FixP vimgrep /FIXME\C/ **/*.* | copen