vim stuffzies

This commit is contained in:
Philipp Hochkamp 2023-03-08 22:35:02 +01:00
parent ff9e47e96b
commit 6c615e4ed6
3 changed files with 27 additions and 13 deletions

View file

@ -146,8 +146,8 @@ keyset("v", "<C-b>", 'coc#float#has_scroll() ? coc#float#scroll(0) : "<C-b>"', o
-- Use CTRL-S for selections ranges
-- Requires 'textDocument/selectionRange' support of language server
keyset("n", "<C-r>", "<Plug>(coc-range-select)", {silent = true})
keyset("x", "<C-r>", "<Plug>(coc-range-select)", {silent = true})
keyset("n", "<C-f>", "<Plug>(coc-range-select)", {silent = true})
keyset("x", "<C-f>", "<Plug>(coc-range-select)", {silent = true})
-- Add `:Format` command to format current buffer
@ -183,4 +183,4 @@ keyset("n", ",j", ":<C-u>CocNext<cr>", opts)
-- Do default action for previous item
keyset("n", ",k", ":<C-u>CocPrev<cr>", opts)
-- Resume latest coc list
keyset("n", ",<space>p", ":<C-u>CocListResume<cr>", opts)
keyset("n", ",p", ":<C-u>CocListResume<cr>", opts)