home: vim: document 'commentary' mappings

By using 'which-key'.
This commit is contained in:
Bruno BELANYI 2022-02-26 15:56:19 +01:00
parent 416a4ca0d6
commit bbc47b6683

View file

@ -0,0 +1,12 @@
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