From 6327c991fa6c760e1a03b5b6e545340d3f1c4e08 Mon Sep 17 00:00:00 2001 From: Kiril Date: Mon, 20 May 2024 01:42:48 +0100 Subject: [PATCH] Use Ctrl-/ for commenting (may change later) Currently considering whether to use this VSCode-style keykind or whether to switch to the more Vimic "gc" family of commands; I am somewhat finding the Ctrl-/ method to be more familiar, but less efficient given the layout of my fingers in Neovim. --- lua/plugins/comments.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/plugins/comments.lua b/lua/plugins/comments.lua index 0b903ef..33e3dc1 100644 --- a/lua/plugins/comments.lua +++ b/lua/plugins/comments.lua @@ -4,12 +4,17 @@ return { "numToStr/Comment.nvim", opts = { -- add any options here + toggler = { + line = "", + }, + opleader = { + line = "", + }, }, lazy = false, }, { "folke/todo-comments.nvim", dependencies = { "nvim-lua/plenary.nvim" }, - opts = {}, }, }