Option-left/right do not reposition the cursor correctly #25526
Replies: 5 comments 1 reply
-
To add some more context, the default MacOS navigation treats the dot as part of the word, but sublime text behaves a bit differently:
It's only treated as a stop while navigating right. |
Beta Was this translation helpful? Give feedback.
-
Thats actually pretty smart. Alt key modifier basically meaning ‘semantic navigation mode’ and the arrow keys taking you to the nearest useful word boundary. Interesting. Very cool seeing all the little inconsistencies between these tools. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I don't think we want to match macOS by default, but perhaps we can offer that as an option to support multiple word boundary movement types. |
Beta Was this translation helpful? Give feedback.
-
PR with implementation: #31977 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Alt-left/right behave differently than native macOS text editing controls.
To reproduce
Text like this (pipe is cursor):
Press alt-left. See that the cursor is here:
Expected behavior
Cursor should be here:
Environment:
Beta Was this translation helpful? Give feedback.
All reactions