insertAround
Insert text before and after each selection.
Arguments
before
: the text to insert before each selection.after
: the text to insert after each selection.expandWith
: (defaultfalse
) expand the selection to include the inserted text.followCursor
: (defaultfalse
) if the cursor is at the start of the selection selection will expand to include the cursor, and if its at the end it will not expand. Expanding in this way leads to a natural symmetric typing experience when typing multiple keys. Best used in conjunction with Master Key. mode optiononType
.