Skip to content

Custom regex scopes

Amy Brennan-Luna edited this page Apr 26, 2024 · 6 revisions

You can define custom scopes in user/cursorless-settings/experimental/regex_scope_types.csv

Tip

Use visualize [scope] to see a live preview of the regex scope (must save regex_scope_types.csv to see changes)


Command visualize dotted with the following scope type dotted,"[\w.]+"

image

Examples

Spoken form Regex Notes
dotted
"[\w.]+"      
Matches dotted expression such as one.two.three

Note

Feel free to add your own examples here.

Clone this wiki locally