From e981d27d9b6c6a8c4143e257ec98db7ec1625865 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 5 Dec 2019 02:06:11 +0100 Subject: Add ideas for 'case_star' plugin Mappings for case sensitive versions # and *. Not completely figured out yet. --- bundle/case_star/plugin/case_star.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bundle/case_star/plugin/case_star.vim 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 c# ?\C=expand('') +nnoremap c* /\C=expand('') + +" TODO: Currently behaves like g* g#. Need * # versions. -- cgit v1.2.3