Syntax actions
Development reference · View source
| Action | Modes | count | register | extend | arg | Position | Description |
|---|---|---|---|---|---|---|---|
syntax-extend-selection | normal, select | repeats | — | — | — | any | Expand to the enclosing syntax node |
syntax-shrink-selection | normal, select | repeats | — | — | — | any | Shrink the syntax selection |
select-syntax-parent | normal, select | repeats | — | — | — | any | Select the enclosing syntax node |
select-syntax-child | normal, select | repeats | — | — | — | any | Select the first child syntax node |
select-previous-syntax-sibling | normal, select | repeats | — | — | — | any | Select the previous sibling syntax node |
select-next-syntax-sibling | normal, select | repeats | — | — | — | any | Select the next sibling syntax node |
select-syntax-function | normal, select | — | — | — | — | any | Select the enclosing function |
select-inside-syntax-function | normal, select | — | — | — | — | any | Select inside the enclosing function |
select-syntax-class | normal, select | — | — | — | — | any | Select the enclosing class-like item |
select-inside-syntax-class | normal, select | — | — | — | — | any | Select inside the enclosing class-like item |
select-syntax-parameter | normal, select | — | — | — | — | any | Select the enclosing parameter |
select-inside-syntax-parameter | normal, select | — | — | — | — | any | Select inside the enclosing parameter |
goto-previous-syntax-function | normal, select | repeats | — | — | — | any | Go to the previous function |
goto-next-syntax-function | normal, select | repeats | — | — | — | any | Go to the next function |
goto-previous-syntax-class | normal, select | repeats | — | — | — | any | Go to the previous class-like item |
goto-next-syntax-class | normal, select | repeats | — | — | — | any | Go to the next class-like item |
goto-previous-syntax-parameter | normal, select | repeats | — | — | — | any | Go to the previous parameter |
goto-next-syntax-parameter | normal, select | repeats | — | — | — | any | Go to the next parameter |
syntax-document-outline | normal, select | — | — | — | — | any | Open the document outline |
syntax-toggle-fold | normal, select | — | — | — | — | any | Toggle the syntax fold at the cursor |
syntax-fold-all | normal, select | — | — | — | — | any | Fold every syntax region |
syntax-unfold-all | normal, select | — | — | — | — | any | Unfold every syntax region |