cursorless-dev / cursorless

Don't let the cursor slow you down

Home Page:https://www.cursorless.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard: Improve Cursorless Keyboard Behavior with custom cursor styles

C-Loftus opened this issue · comments

Bug: if you set your cursor style to something other than the default value: line, (i.e. setting to block), Cursorless will reset the cursor style back to line after exiting Cursorless keyboard mode back to normal editing. Then the window must be reloaded to reload the user's cursor setting.

To replicate use this in your settings.json then enter and exit cursorless keyboard

  "editor.cursorStyle": "block",

Proposed fix with enhancement: Cursorless keyboard does not have a setting (to my knowledge) for changing the style of the cursor that results from the second selection of the keyboard interface. This is needed for some users for a11y reasons.

It might make sense to have a custom style setting for the Cursorless keyboard cursor in a similar pattern as

  "workbench.colorCustomizations": {
    "editorCursor.foreground": "#ffffff",
    "editorCursor.background": "#000000"
  }

I think Cursorless should default to the user's custom cursor style but also have a setting for cursorless-specific stylization since there is a lot more going on visually with cursorless and the user may need more contrast than normal.

Happy to look at trying to file a PR for both if this seems reasonable.

However, maybe it makes sense to add a custom setting for the keyboard, since the default line cursor may not have enough contrast even for users without vision issues.

Closing this in favor of separate issues as defined in the meetup today