Open pokey opened 2 years ago
I'm finding this type of thing increasingly jarring now that I'm using cursorless in neovim because the cursorless commands (at least for now) don't work or manipulating text on the actual command line, just whatever is in the rest of the buffer. But I'm constantly trying to use the same cursorless terminology there especially chuck, paint, token, etc.
I recall andreas maybe has an existing fallback mechanism so that if a command doesn't actually do anything on cursorless side it falls back to an action? seems like this in combination with proposed solution 3 would solve a lot of these problems? I'm not sure what the status of doing something in community is, or maybe it already exists and I missed it.
I'll probably start slowly poking at solving this on my repo/community, but wanted to see what the state of things is already.
The fallback mechanism is already in Cursorless proper. You(The neovim implementation) just need to provide the command server interface which gives Cursorless the focused element type.
The problem
We have at least the following conflicts with stock knausj:
"copy <number>"
targets line number in knausj, but mark in Cursorless"comment <number>"
in community refers to line numbers not the decorated digit"copy block"
roughly the same behavior, but in community achieved with a cursor dance that is slower and not as reliable. Appears to be quite broken on mac.Possible solutions
cc/ @AndreasArvidsson @knausj85 have I missed any conflicts?
Discussed in https://github.com/pokey/cursorless-vscode/discussions/314
@codecat555 fwiw we fixed the specific issue you raised by changing the default term for "clear" to "change", but that's certainly not the only knausj conflict, so let's leave this discussion open.