From fe30a67a958d8ec78fdec8b83f66f8b3d491157e Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Tue, 15 Sep 2026 03:31:49 +0530 Subject: feat(development/nixvim): using c for comments, added window down keymap --- modules/development/nixvim/keymaps.nix | 2 +- modules/development/nixvim/plugins/comment.nix | 14 +++++++------- modules/development/nixvim/plugins/which-key.nix | 1 - 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/modules/development/nixvim/keymaps.nix b/modules/development/nixvim/keymaps.nix index 46c3168..66a4284 100644 --- a/modules/development/nixvim/keymaps.nix +++ b/modules/development/nixvim/keymaps.nix @@ -8,7 +8,7 @@ options.desc = "Move to left window"; } { - key = ""; + key = ""; action = "j"; options.desc = "Move to bottom window"; } diff --git a/modules/development/nixvim/plugins/comment.nix b/modules/development/nixvim/plugins/comment.nix index 10bed84..8c69218 100644 --- a/modules/development/nixvim/plugins/comment.nix +++ b/modules/development/nixvim/plugins/comment.nix @@ -5,17 +5,17 @@ enable = true; settings = { toggler = { - line = "gcc"; # toggle line comment - block = "gbc"; # toggle block comment + line = "cc"; # toggle line comment + block = "cb"; # toggle block comment }; opleader = { - line = "gc"; # line comment operator (gc + motion) - block = "gb"; # block comment operator (gb + motion) + line = "cc"; # toggle line comment + block = "cb"; # toggle block comment }; extra = { - above = "gcO"; # add comment line above - below = "gco"; # add comment line below - eol = "gcA"; # add comment at end of line + above = "cu"; # add comment line above + below = "cd"; # add comment line below + eol = "ce"; # add comment at end of line }; }; }; diff --git a/modules/development/nixvim/plugins/which-key.nix b/modules/development/nixvim/plugins/which-key.nix index 81ecd14..5802c96 100644 --- a/modules/development/nixvim/plugins/which-key.nix +++ b/modules/development/nixvim/plugins/which-key.nix @@ -9,7 +9,6 @@ registers = true; spelling = { enabled = true; - suggestions = 20; }; }; win = { -- cgit v1.2.3