nvim: Tweak CoC completion keybindings
This commit is contained in:
@ -181,7 +181,7 @@ noremap <leader>h :noh<Enter>
|
||||
noremap <c-r> :Rooter<Enter>
|
||||
let g:rooter_manual_only = 1
|
||||
|
||||
" Toggle between buffers
|
||||
" Toggle between begin
|
||||
nnoremap <leader><leader> <c-^>
|
||||
|
||||
" Managing tabs
|
||||
@ -200,6 +200,11 @@ nmap <leader>d :<C-u>CocList diagnostics<Enter>
|
||||
nmap <leader>c :<C-u>CocList commands<Enter>
|
||||
nmap <leader>s :<C-u>CocList -I symbols<Enter>
|
||||
nmap <leader>o :<C-u>CocOutline<Enter>
|
||||
imap <expr><Enter> coc#pum#visible() ? coc#pum#confirm() : "\<Enter>"
|
||||
imap <silent><expr> <TAB>
|
||||
\ coc#pum#visible() ? coc#pum#next(1) :
|
||||
\ coc#refresh()
|
||||
imap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
||||
|
||||
" grammarous
|
||||
nmap <leader>gc :GrammarousCheck<Enter>
|
||||
|
||||
Reference in New Issue
Block a user