If I type my_test in GNOME Terminal and then double click it the whole
thing is selected.
Go in to Edit > Profile Preferences > General and have a look at the
“Select-by-word characters” field. Mine contains[color=green]
[/color][/color]
Code:
--------------------[color=blue][color=green]
[/color]
-A-Za-z0-9,./?%&#:_=+@~[/color]
--------------------[color=blue][color=green]
[/color]
If your list doesn’t include _ then add it.[/color]