diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 04:10:04 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 04:10:04 +0530 |
| commit | 61d7d04c916f1bc84058cc6043f14006522a9ede (patch) | |
| tree | 5f321efe0c7087deceeb86d07ce495a80c6105cd /modules/development/nixvim/plugins/comment.nix | |
| parent | 2368e5019ab0f5584443b920d057723029d67b75 (diff) | |
| parent | 97069824b7ce38398bd03bc936d613998959b9be (diff) | |
| download | home-manager-config-61d7d04c916f1bc84058cc6043f14006522a9ede.tar.gz home-manager-config-61d7d04c916f1bc84058cc6043f14006522a9ede.zip | |
Merge branch 'nixvim-new-features'
Diffstat (limited to 'modules/development/nixvim/plugins/comment.nix')
| -rw-r--r-- | modules/development/nixvim/plugins/comment.nix | 14 |
1 files changed, 7 insertions, 7 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 }; }; }; |
