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 2713270378
commit 1408d7735a

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