Why does opleader create a mapping in both normal and visual mode? I noticed that the mapping I set for operator-pending mode appears as an xmap as well. Is there a specific reason for why it is set in visual mode as well? Is it even possible to perform an operator-pending command from visual mode?
From the README:
---LHS of operator-pending mappings in NORMAL + VISUAL mode
---@type table
opleader = {
---Line-comment keymap
line = 'gc',
---Block-comment keymap
block = 'gb',
},
Why does
opleadercreate a mapping in both normal and visual mode? I noticed that the mapping I set for operator-pending mode appears as anxmapas well. Is there a specific reason for why it is set in visual mode as well? Is it even possible to perform an operator-pending command from visual mode?From the README: