I'm unsure of how to properly describe this question, but here goes:
In emacs with I double-click to select a word, something determines which characters to select -- what is this called? (In Terminal profile preference, this is called select-by-word characters, so I'll use that phrase.)
Without web-mode, for example, if I double click the word title
in image_title
, it highlights only title
-- that is, the underscore is recognized as a select-by-word delimiter.
Once I enabled web-mode, the behavior of select-by-word changes, and underscore is no longer a word delimiter. In the previous example, double-clicking now highlights the entire image_title
. This irritates me, as I commonly want to select portions of an underscore-delimited-identifier. (In general, I'd prefer any mode not to change the default selection behavior.)
What is the option to change this behavior of web-mode?
Edit to add: in my preferred mode, if I double-click on the _
character, it does select the entire word including underscores. I like this subtle but precise control of the selection behavior.