Coc: added rename shortcut
This commit is contained in:
parent
73c04b7841
commit
262d74f57b
1
init.vim
1
init.vim
@ -211,6 +211,7 @@ autocmd CursorHold * silent call CocActionAsync('highlight')
|
|||||||
" Remap for format selected region
|
" Remap for format selected region
|
||||||
vmap <leader>f <Plug>(coc-format-selected)
|
vmap <leader>f <Plug>(coc-format-selected)
|
||||||
nmap <leader>f <Plug>(coc-format-selected)
|
nmap <leader>f <Plug>(coc-format-selected)
|
||||||
|
nmap <leader>r <Plug>(coc-rename)
|
||||||
" Use `:Format` for format current buffer
|
" Use `:Format` for format current buffer
|
||||||
command! -nargs=0 Format :call CocAction('format')
|
command! -nargs=0 Format :call CocAction('format')
|
||||||
" Shortcuts for denite interface
|
" Shortcuts for denite interface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user