{ ... }: { plugins.comment = { enable = true; settings = { # LHS of toggle mappings in NORMAL mode toggler = { # Line-comment toggle keymap line = "c"; # Block-comment toggle keymap block = "c"; }; # LHS of operator-pending mappings in NORMAL and VISUAL mode opleader = { # Line-comment keymap line = "c"; # Block-comment keymap block = "c"; }; # LHS of extra mappings extra = { # Add comment on the line above above = "co"; # Add comment on the line below below = "ce"; # Add comment at the end of line eol = "ca"; }; }; }; }