I posted this in the Help forum and it was suggested I make it a feature request.
With most text editing apps, holding Control and left or right arrow moves the cursor to the beginning of the next or previous word. (I’m seeing that right now, writing this post). With Obsidian Ctrl-left-arrow takes the cursor to the next beginning of a word but Ctrl-right-arrow goes to the next end. Just a small thing but it means you always have to think about where you are, whether you are ahead of or behind the space character. If you’re writing and select words to cut and paste it works differently depending on whether you select from the beginning or the end so you’re frequently adding or deleting spaces.
Please could it be brought in line with most other app behaviour at least as an option?
2 Likes
Please make Ctrl-left-arrow and Ctrl-right-arrow both go to the beginning of the previous or next word.
Currently Ctrl-right-arrow goes to the end of the next word which feels inconsistent. If there’s a good reason for this please let us know. Otherwise please could this be changed?
Quick bump as this seems obviously wrong but not getting much traction.
Hello. I looked a bit into this. What you are describing proposing is NOT a universal behavior. It is the default on windows, but mac and linux behave differently.
Moreover, code editors on windows, like vscode, follow the mac/linux convention.
Therefore, I am not sure we will introduce a special handling just for windows.
Thanks for your reply. For clarification, when you say ‘what you are describing’, are you referring to what I’m experiencing or what I’m proposing?
Not a Mac user but according to howtogeek (can’t paste a link but; 35-mac-text-editing-keyboard-shortcuts-to-speed-up-typing) control-arrow goes to the beginning of the word in either direction as I would like. It means that from whichever side you select words they will always paste back with the correct spacing when ctrl-arrow tabbed to a new position.
For me the same is true as a very occasional coder but I bow to the professionals on that. Though I do wonder how much coding is written in Obsidian compared to straight text.
I edited my response for clarity.
1 Like