timhor / obsidian-editor-shortcuts

Obsidian plugin to add keyboard shortcuts commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text
MIT License
356 stars 25 forks source link

Select word or next occurrence stops at underscore `_` separators #80

Open hsandt opened 4 months ago

hsandt commented 4 months ago

I'm using Select word or next occurrence (Ctrl+D) to rename variables, which can contain underscore _ separators, so the fact that it stops at sub-words is a bit disturbing.

It would be closer to code editor behavior if it selected the whole word.

There could be an option to keep the old behavior for users who really want to stop at subwords..

My current workaround is to double-click on the word to select it fully, then Ctrl+D.