2

Kitty terminal has a feature where one can run a python script that captures text via regex and allows copying directly to clipboard (see https://sw.kovidgoyal.net/kitty/kittens/hints/)

The matches are selected via some assigned letter, it's a very neat feature. I have a couple of hotkeys for capturing words, uuids, urls, etc so I never leave the keyboard.

Unfortunately, I hate that kitty forces one to set $TERM to xterm-kitty which opens a can of worms.

Is there another fast terminal emulator with the same functionality, without the $TERM shenanigans?

muru
  • 69,900
  • 13
  • 192
  • 292
Miguel Ping
  • 121
  • 3
  • It's obviously doable in Emacs, but it may require a bit of code if you want _exactly_ the same selection interface rather than something broadly similar. Do you need the same kind of on-screen selection using numbers, or can it be a different mechanism? In xterm, I think it's only doable without on-screen selection (you have to decide “I want the 3rd URL” without an on-screen hint) or by opening another window for the selection. Is this acceptable? – Gilles 'SO- stop being evil' Apr 30 '23 at 18:39
  • @Gilles'SO-stopbeingevil' its acceptable as long as I don't have to touch the mouse. Emacs may be an idea, and although I use it once in a while, I'd prefer a regular terminal emulator – Miguel Ping May 01 '23 at 09:04

0 Answers0