Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Sublime Text 2, consider hyphen as part of word

How can I have a double-click on a word which contains a hyphen (dash) in Sublime Text 2 select the entire word, not just one part of the word delimited by the hyphen?

like image 624
phirschybar Avatar asked Nov 16 '12 12:11

phirschybar


1 Answers

Click settings -> default settings, locate the "word_separators" key and delete the hyphen from the character set, re-save.

like image 92
Alex K. Avatar answered Sep 21 '22 10:09

Alex K.