diff options
author | Teddy Wing | 2019-12-05 02:06:11 +0100 |
---|---|---|
committer | Teddy Wing | 2019-12-09 20:54:23 +0100 |
commit | e981d27d9b6c6a8c4143e257ec98db7ec1625865 (patch) | |
tree | 67a450d9430b876e80d9f9bc6bdb7b910652c185 /bundle/case_star/plugin | |
parent | ec48cdda27baf830229584df6b3695bc30b81f12 (diff) | |
download | dotvim-e981d27d9b6c6a8c4143e257ec98db7ec1625865.tar.bz2 |
Add ideas for 'case_star' plugin
Mappings for case sensitive versions # and *. Not completely figured out
yet.
Diffstat (limited to 'bundle/case_star/plugin')
-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. |