diff options
author | HampusM <hampus@hampusmat.com> | 2024-10-29 19:27:59 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-10-29 19:27:59 +0100 |
commit | 2eb6ab3e57912d84c7617f6be3351d8e43caa839 (patch) | |
tree | f934cafbf240ce312b3ce60d4c415a9f2b3e31e2 /lua/maps/coc.lua | |
parent | 0410d0b7b3c054df359451605556f473a168e411 (diff) |
add map to restart coc.nvim
Diffstat (limited to 'lua/maps/coc.lua')
-rw-r--r-- | lua/maps/coc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/maps/coc.lua b/lua/maps/coc.lua index 85eacfc..944febc 100644 --- a/lua/maps/coc.lua +++ b/lua/maps/coc.lua @@ -22,6 +22,9 @@ inoremap <silent><expr> <S-TAB> ]] ) +vim.api.nvim_set_keymap("n", "<leader>cr", ":CocRestart<CR>", + {silent = true, noremap = true}) + -- Use <c-space> to trigger completion vim.api.nvim_set_keymap("i", "<C-space>", "coc#refresh()", {silent = true, expr = true, noremap = true}) |