feat(neovim): add vim-which-key

This commit is contained in:
Felix Schröter 2020-06-18 16:22:24 +02:00
parent 68f46f384b
commit a9b7ddaeb8
No known key found for this signature in database
GPG key ID: A12D7C9D2FD34458
2 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1,6 @@
nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR>
vnoremap <silent> <leader> :<c-u>WhichKeyVisual '<Space>'<CR>
nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR>
vnoremap <silent> <localleader> :<c-u>WhichKeyVisual ','<CR>
set timeoutlen=100