{...}: { programs.nixvim = { plugins.comment-nvim = { enable = true; padding = true; sticky = true; mappings = { basic = false; extended = false; extra = false; }; }; maps = { visual = { "gcc" = { action = "(comment_toggle_linewise_visual)"; desc = "toggle the current line in a linewise comment"; }; "gbc" = { action = "(comment_toggle_blockwise_visual)"; desc = "toggle the current line in a blockwise comment"; }; }; normal = { "gcc" = { action = "(comment_toggle_linewise_current)"; desc = "toggle the current line in a linewise comment"; }; "gbc" = { action = "(comment_toggle_blockwise_current)"; desc = "toggle the current line in a blockwise comment"; }; }; }; }; }