update bindings

This commit is contained in:
Ray Elliott 2020-02-26 12:24:02 +00:00
parent 7bf052f7f1
commit 80476ada61
1 changed files with 6 additions and 5 deletions

View File

@ -35,11 +35,11 @@
let g:ale_sign_error = 'Α'
let g:ale_sign_warning = 'α'
nmap gh <Plug>(ale_hover)
nmap <space>aa <Plug>(ale_detail)
nmap aa <Plug>(ale_hover)
nmap <space>ad <Plug>(ale_detail)
nmap <space>af <Plug>(ale_fix)
nmap <space>ar <Plug>(ale_find_references)
nmap <space>ad <Plug>(ale_go_to_definition)
nmap <space>ag <Plug>(ale_go_to_definition)
nmap <space>aD <Plug>(ale_documentation)
nmap <space>an <Plug>(ale_next)
nmap <space>ap <Plug>(ale_previous)
@ -57,9 +57,10 @@
let g:coc_snippet_prev = '<s-tab>'
" inoremap <silent><expr> <c-n> coc#refresh()
nnoremap <silent> <silent> gH :call CocAction('doHover')<CR>
nnoremap <silent> <silent> <space><space> :call CocAction('doHover')<CR>
nnoremap <silent> <silent> cc :call CocAction('doHover')<CR>
nnoremap <silent> <space>cf :call CocAction('doQuickfix')<CR>
nnoremap <silent> <space>cd :call CocAction('jumpDefinition')<CR>
nnoremap <silent> <space>cg :call CocAction('jumpDefinition')<CR>
nnoremap <silent> <space>ci :call CocAction('jumpImplementation')<CR>
nnoremap <silent> <space>cr :call CocAction('jumpReferences')<CR>
nnoremap <silent> <space>cm :call CocAction('rename')<CR>