summaryrefslogtreecommitdiff
path: root/keys
diff options
context:
space:
mode:
authorChris <[email protected]>2020-08-10 11:01:35 -0400
committerChris <[email protected]>2020-08-10 11:01:35 -0400
commitbfa321c1bd6bdb5cde233e07fef68734b8ae7b99 (patch)
treea2506f328c3273cf845ceb0479daf67be9f1e0ee /keys
parent257af747c5be85efa882c14087eb22b762fb7ad6 (diff)
added coc word search
Diffstat (limited to 'keys')
-rw-r--r--keys/which-key.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/keys/which-key.vim b/keys/which-key.vim
index b24cbc82..79a9f2b1 100644
--- a/keys/which-key.vim
+++ b/keys/which-key.vim
@@ -10,6 +10,9 @@ let g:which_key_map = {}
let g:which_key_sep = '→'
" set timeoutlen=100
+" Coc Search & refactor
+nnoremap <leader>? :CocSearch <C-R>=expand("<cword>")<CR><CR>
+let g:which_key_map['?'] = 'search word'
" Not a fan of floating windows for this
let g:which_key_use_floating_win = 0