ddterm / gnome-shell-extension-ddterm

Another drop down terminal extension for GNOME Shell. With tabs. Works on Wayland natively
https://extensions.gnome.org/extension/3780/ddterm/
GNU General Public License v3.0
298 stars 26 forks source link

Ability to specify word-wise select chars #799

Open RafalSkolasinski opened 6 months ago

RafalSkolasinski commented 6 months ago

When double clicking "a word" it would be convenient to be able to configure a word separation chars.

For example, if I have http://localhost:8000 in Tilix I could set word-wise select chars to -,./?%&#_~: and when I double click on localhost it selects the whole URI for me to copy. Here it only selects the localhost bit.

amezin commented 6 months ago

If Tilix does it then it should be supported by VTE somehow. Probably https://gjs-docs.gnome.org/vte291~2.91/vte.terminal#method-set_word_char_exceptions

BTW, for URLs you could use "Copy Hyperlink Address" from the context menu instead.

RafalSkolasinski commented 6 months ago

Hyperlink was only an example, I know that in few more places I had to modify the chars list to I am able to copy paste exactly what I need :)