From c07e126c2fcae8ef7e81d1b113dd5ef2669ab23f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 19 Apr 2021 22:46:03 +0200 Subject: Working lsp in nvim --- .config/nvim/lua/_comment/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/nvim/lua/_comment/init.lua') diff --git a/.config/nvim/lua/_comment/init.lua b/.config/nvim/lua/_comment/init.lua index df79438..8d2ad52 100644 --- a/.config/nvim/lua/_comment/init.lua +++ b/.config/nvim/lua/_comment/init.lua @@ -1,3 +1,3 @@ require('nvim_comment').setup() -vim.api.nvim_set_keymap("n", "/", ":CommentToggle", {noremap=true, silent = true}) -vim.api.nvim_set_keymap("v", "/", ":CommentToggle", {noremap=true, silent = true}) +vim.api.nvim_set_keymap("n", "gc", ":CommentToggle", {noremap=true, silent = true}) +vim.api.nvim_set_keymap("v", "gc", ":CommentToggle", {noremap=true, silent = true}) -- cgit v1.2.3-70-g09d2