summaryrefslogtreecommitdiff
path: root/lua/maps
diff options
context:
space:
mode:
Diffstat (limited to 'lua/maps')
-rw-r--r--lua/maps/coc.lua3
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})