summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_comment
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-19 22:46:03 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-19 22:46:03 +0200
commitc07e126c2fcae8ef7e81d1b113dd5ef2669ab23f (patch)
treef219deb17f33ec46dc811871ee22f43b88ac0730 /.config/nvim/lua/_comment
parent772508a05046097f2437d0940990dd861693ec39 (diff)
Working lsp in nvim
Diffstat (limited to '.config/nvim/lua/_comment')
-rw-r--r--.config/nvim/lua/_comment/init.lua4
1 files changed, 2 insertions, 2 deletions
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", "<leader>/", ":CommentToggle<CR>", {noremap=true, silent = true})
-vim.api.nvim_set_keymap("v", "<leader>/", ":CommentToggle<CR>", {noremap=true, silent = true})
+vim.api.nvim_set_keymap("n", "gc", ":CommentToggle<CR>", {noremap=true, silent = true})
+vim.api.nvim_set_keymap("v", "gc", ":CommentToggle<CR>", {noremap=true, silent = true})