Fixed bindings conflict
This commit is contained in:
parent
17a56146f0
commit
a144b9d0fa
@ -85,8 +85,8 @@ autocmd CursorHold * silent call CocActionAsync('highlight')
|
|||||||
nmap <leader>rn <Plug>(coc-rename)
|
nmap <leader>rn <Plug>(coc-rename)
|
||||||
|
|
||||||
" Formatting selected code.
|
" Formatting selected code.
|
||||||
xmap <leader>f <Plug>(coc-format-selected)
|
" xmap <leader>f <Plug>(coc-format-selected)
|
||||||
nmap <leader>f <Plug>(coc-format-selected)
|
" nmap <leader>f <Plug>(coc-format-selected)
|
||||||
|
|
||||||
augroup mygroup
|
augroup mygroup
|
||||||
autocmd!
|
autocmd!
|
||||||
@ -134,7 +134,7 @@ xmap <silent> <C-s> <Plug>(coc-range-select)
|
|||||||
|
|
||||||
" Add `:Format` command to format current buffer.
|
" Add `:Format` command to format current buffer.
|
||||||
command! -nargs=0 Format :call CocAction('format')
|
command! -nargs=0 Format :call CocAction('format')
|
||||||
nmap <leader>f <cmd>:Format<CR>
|
nmap .f <cmd>:Format<CR>
|
||||||
|
|
||||||
" Add `:Fold` command to fold current buffer.
|
" Add `:Fold` command to fold current buffer.
|
||||||
command! -nargs=? Fold :call CocAction('fold', <f-args>)
|
command! -nargs=? Fold :call CocAction('fold', <f-args>)
|
||||||
|
Loading…
Reference in New Issue
Block a user