Open
Description
From :help map-operator
:
g@{motion} Call the function set by the 'operatorfunc' option.
The '[ mark is positioned at the start of the text
moved over by {motion}, the '] mark on the last
character of the text.
The function is called with one String argument:
"line" {motion} was |linewise|
"char" {motion} was |characterwise|
"block" {motion} was |blockwise-visual|
Looking into what a proper surround.vim port would take, this is necessary for defining and applying the "surround" operator.
Metadata
Metadata
Assignees
Labels
No labels