What constitutes a word on double-click

조회수 82회
읽지 않은 첫 메시지로 건너뛰기

Corinna Vinschen

읽지 않음,
2011. 11. 29. 오전 10:31:0111. 11. 29.
받는사람 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

읽지 않음,
2011. 11. 29. 오후 2:41:2511. 11. 29.
받는사람 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

읽지 않음,
2011. 11. 29. 오후 3:09:2611. 11. 29.
받는사람 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

읽지 않음,
2012. 12. 2. 오후 6:46:1812. 12. 2.
받는사람 mintty-...@googlegroups.com
Thanks for your answer. It was exactly what I was looking for.
전체답장
작성자에게 답글
전달
새 메시지 0개