AST Mode

There are two main differences between AST mode and normal mode:

  • The selection consists of whole lines only.

  • Commands manipulate these whole-line blocks of code and can take the language-specific meaning of the code into account if necessary, for example the generic change command changes the condition if the selection contains a JavaScript if statement.

To enter AST mode, press the mode switch key (defaults to Esc). See Peeking for more details.