Fixed bindings conflict

This commit is contained in:
Price Hiller 2021-11-15 20:57:56 -06:00
parent 17a56146f0
commit a144b9d0fa

View File

@ -85,8 +85,8 @@ autocmd CursorHold * silent call CocActionAsync('highlight')
nmap <leader>rn <Plug>(coc-rename)
" Formatting selected code.
xmap <leader>f <Plug>(coc-format-selected)
nmap <leader>f <Plug>(coc-format-selected)
" xmap <leader>f <Plug>(coc-format-selected)
" nmap <leader>f <Plug>(coc-format-selected)
augroup mygroup
autocmd!
@ -134,7 +134,7 @@ xmap <silent> <C-s> <Plug>(coc-range-select)
" Add `:Format` command to format current buffer.
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.
command! -nargs=? Fold :call CocAction('fold', <f-args>)