diff options
-rw-r--r-- | bundle/case_star/plugin/case_star.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bundle/case_star/plugin/case_star.vim b/bundle/case_star/plugin/case_star.vim new file mode 100644 index 0000000..62deac7 --- /dev/null +++ b/bundle/case_star/plugin/case_star.vim @@ -0,0 +1,5 @@ +" TODO: if not on start of word, ensure we move to previous match +nnoremap <silent> c# ?\C<C-r>=expand('<cword>')<CR><CR> +nnoremap <silent> c* /\C<C-r>=expand('<cword>')<CR><CR> + +" TODO: Currently behaves like g* g#. Need * # versions. |