Hacker News new | ask | show | jobs
by h3x4d3c4 223 days ago
Not sure if this was available from the beginning, but Ghostty has the ability to do exactly that with what they call "performable" keybindings

<https://ghostty.org/docs/config/keybind#performable:>

2 comments

Oh wow, I'm already using ghostty and didn't know about this. It works great, thanks!
Ooh, seconded, will try right away.

[EDIT]: so ... tried it ... very, very nice BUT:

what of CTRL-V ???

You can do the same with ctrl+v, just use paste_from_clipboard
> You can do the same with ctrl+v, just use paste_from_clipboard

Yeah, but CTRL+V is actually used e.g. in VIM.

And I can't see a way for ghostty to "guess" what to do based on context like it does in the case something is selected.

Sorry, should have explained better.

Hope Kovid Goyal gets inspired by this
Kitty also has it, I didn't know prior to today

https://sw.kovidgoyal.net/kitty/conf/#clipboard

fantastic!