nix-config/home/vim/after/plugin/mappings/commentary.vim
2022-03-03 18:15:28 +01:00

13 lines
288 B
VimL

lua << EOF
local wk = require("which-key")
local keys = {
name = "Comment/uncomment",
c = "Current line",
u = "Uncomment the current and adjacent commented lines",
["gc"] = "Uncomment the current and adjacent commented lines",
}
wk.register(keys, { prefix = "gc" })
EOF