A modified chunk of the template config (so the maps in toggler and opleader doesn't share the same gc sequence)
toggler = {
line = '<space>bt',
block = '<space>bT',
},
opleader = {
line = '<space>bo',
block = '<space>bO',
},
Due to this bug, to toggle comment in visual mode, you need to press <space>bo which is defined in the opleader. Pressing <space>bt in visual mode has no effect.
Changing opleader to toggler at api.lua fixes this issue, but might break for some people who are already used to this mapping.
A modified chunk of the template config (so the maps in toggler and opleader doesn't share the same gc sequence)
Due to this bug, to toggle comment in visual mode, you need to press
<space>bowhich is defined in the opleader. Pressing<space>btin visual mode has no effect.Changing
opleadertotogglerat api.lua fixes this issue, but might break for some people who are already used to this mapping.