Coc: added rename shortcut
This commit is contained in:
1
init.vim
1
init.vim
@@ -211,6 +211,7 @@ autocmd CursorHold * silent call CocActionAsync('highlight')
|
||||
" Remap for format selected region
|
||||
vmap <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
|
||||
command! -nargs=0 Format :call CocAction('format')
|
||||
" Shortcuts for denite interface
|
||||
|
||||
Reference in New Issue
Block a user