I am running ubuntu 12.04.5 lts.
When I do a mouse double click selection I would like to select only a current word. For example in a line like:
/home/xx/asdf
right now the whole line gets selected when I doulble click on "xx". Also in a line like:
$asdf=
I would like to select the 1st five characters – include $
in the selection. Right now it selects asdf=
– 5 characters including the equal sign.
UPDATE:
The answer I accepted no longer works since Ubuntu 15 it seems.
The following answer works in Ubuntu18:
Best Answer
For
gnome-terminal
:In the menu bar, under Edit : Profile Preferences, tab General you will find Select-by-word chatacters. If you want the terminal to consider
/
to be a word boundary for selection purposes, remove/
from the list of characters.