Skip to content
Discussion options

You must be logged in to vote

surround selection with function

  1. add parentheses around selection: ms(
  2. go into insert mode at the beginning of the selection: i
  3. type the name of the function

if it's too long you can make a macro like this

[editor.keys.normal]
"L" = "@ms(i"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wolf
Comment options

Answer selected by wolf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants