From 2eb6ab3e57912d84c7617f6be3351d8e43caa839 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Oct 2024 19:27:59 +0100 Subject: add map to restart coc.nvim --- lua/maps/coc.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/maps') 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 ]] ) +vim.api.nvim_set_keymap("n", "cr", ":CocRestart", + {silent = true, noremap = true}) + -- Use to trigger completion vim.api.nvim_set_keymap("i", "", "coc#refresh()", {silent = true, expr = true, noremap = true}) -- cgit v1.2.3-18-g5258