You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,3 +2,4 @@
2
2
3
3
-[ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
4
4
-[ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
Copy file name to clipboardExpand all lines: docs/user/customization.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,20 @@ While the hats are hidden, you will not be able to address any marks, eg `"take
75
75
76
76
If you'd like to map a voice command to toggle the hats, have a look at https://youtu.be/oWUJyDgz63k
77
77
78
+
## Updating word separators
79
+
80
+
The word separators are characters that defines the boundary between words in a identifier. eg `hello_world` is an identifier with two words separated by `_`. If you like to support other separators like `-` in `hello-world` that can be accomplished by changing the `cursorless.wordSeparators` setting. This setting is also language overridable.
81
+
82
+
```json
83
+
// Sets the word separator for all languages
84
+
"cursorless.wordSeparators": ["_"]
85
+
86
+
// Sets the word separator for css only
87
+
"[css]": {
88
+
"cursorless.wordSeparators": ["_", "-"]
89
+
}
90
+
```
91
+
78
92
## Cursorless public API
79
93
80
94
Cursorless exposes a couple talon actions and captures that you can use to define your own custom command grammar leveraging cursorless targets.
0 commit comments