nix-config/modules/home/vim/after/plugin/mappings/commentary.lua

11 lines
273 B
Lua
Raw Normal View History

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" })