diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 03:31:49 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 03:31:49 +0530 |
| commit | fe30a67a958d8ec78fdec8b83f66f8b3d491157e (patch) | |
| tree | 2e4a0cf53ef069aca492aae80ef427e8cc7ddb71 /modules/development/nixvim/plugins | |
| parent | cd39b87e3d04ddeb5e6f35037badfa17a5918c5a (diff) | |
| download | home-manager-config-fe30a67a958d8ec78fdec8b83f66f8b3d491157e.tar.gz home-manager-config-fe30a67a958d8ec78fdec8b83f66f8b3d491157e.zip | |
feat(development/nixvim): using <leader>c for comments, added window down keymap
Diffstat (limited to 'modules/development/nixvim/plugins')
| -rw-r--r-- | modules/development/nixvim/plugins/comment.nix | 14 | ||||
| -rw-r--r-- | modules/development/nixvim/plugins/which-key.nix | 1 |
2 files changed, 7 insertions, 8 deletions
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 = "<leader>cc"; # toggle line comment + block = "<leader>cb"; # toggle block comment }; opleader = { - line = "gc"; # line comment operator (gc + motion) - block = "gb"; # block comment operator (gb + motion) + line = "<leader>cc"; # toggle line comment + block = "<leader>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 = "<leader>cu"; # add comment line above + below = "<leader>cd"; # add comment line below + eol = "<leader>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 = { |
