When my cursor (caret) is on the left side of a word and I hit [Ctrl-Del], virtually all Windows applications since Windows 3.1 (1992), delete the entire word and the space after it, placing the first letter of the next word next to the cursor. I am guessing most editors’ basic editing behaviors are modeled after the cursor navigation (and word deletion) behavior of the Windows TextBox control, which was well documented in the Windows 3.1 User’s Guide. That includes the Markdown editor I am typing this question into.
But when I do that with Sublime Text, it only deletes to the end of the current word, leaving 2 spaces between the two words, which then requires an additional keystroke to get rid of.
[Ctrl-RightArrow] is similarly affected, where I expect the cursor to to go the beginning of the next word, but instead it takes the cursor to the end of the current word, although [Ctrl-LeftArrow] does land the cursor at the beginning of the previous word as expected.
There are only 2 editors I have ever encountered that behave this way:
- PyCharm, and
- Sublime Text
I tried adding a space to the word_separators
list in my Packages/User/Preferences.sublime-settings
(since it is not already there), but it didn’t seem to change anything.
Is there a way to get that behavior to behave like other editors? My fingers’ muscle memory would appreciate it if there was a way to do this…
Kind regards,
Vic