Skip to main content

Drink (Edit new line/scope before)

Scope defaults to line. When used with a provided scope target, this action inserts the delimiters or spacing required for a new instance of that scope.

Cursorless ID: editNewLineBefore

Spoken form​

Default: drink

Syntax​

  • drink <target> - Edit new line before <target>.
  • drink <scope> <target> - Edit new <scope> before <target>.

Examples​

  • "drink blue air" - Inserts a new line above the token containing letter a with a blue hat and moves the cursor to it.
  • "drink item blue air" - Inserts the delimiters for a new collection item before the item containing the token containing letter a with a blue hat and moves the cursor there.

Visualization​

"drink air"​

Before
After

"drink token air"​

Before
After