What constitutes a word on double-click

82 views
Skip to first unread message

Corinna Vinschen

unread,
Nov 29, 2011, 10:31:01 AM11/29/11
to mintty-...@googlegroups.com
Hi Andy,

many "modern" terminal applications like gnome terminal or xfce4
Terminal allow to specify what constitutes a word when double-clicking
in their preferences. I always change the settings so that, for
instance, colons and backslashes are not recognized as parts of
a word so that I can double-click on a Win32 path component and only
select the component, not the full path.

Is there a chance to add such an option to mintty as well?


Thanks,
Corinna

Andy Koppe

unread,
Nov 29, 2011, 2:41:25 PM11/29/11
to mintty

It's already there, as the 'WordChars' config file option. As the
manpage has it:

"By default, this string setting is empty, in which case doubleclick
word selection uses the default algorithm that is geared towards
picking out filenames and URLs. If a string is specified here, word
selection only picks out characters in the string along with
alphanumeric characters."

Andy

Corinna Vinschen

unread,
Nov 29, 2011, 3:09:26 PM11/29/11
to mintty

Uh, thanks. I was expecting a GUI representation of this option.
Who on earth reads the man pages of a GUI app? ;)


Corinna

raikan...@gmail.com

unread,
Dec 2, 2012, 6:46:18 PM12/2/12
to mintty-...@googlegroups.com
Thanks for your answer. It was exactly what I was looking for.
Reply all
Reply to author
Forward
0 new messages