Remix.run Logo
h3x4d3c4 3 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:>

ghosty141 2 days ago | parent | next [-]

Oh wow, I'm already using ghostty and didn't know about this. It works great, thanks!

ur-whale 2 days ago | parent [-]

Ooh, seconded, will try right away.

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

what of CTRL-V ???

ghosty141 2 days ago | parent [-]

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

ur-whale 2 days ago | parent [-]

> 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.

mongol 3 days ago | parent | prev [-]

Hope Kovid Goyal gets inspired by this

h3x4d3c4 2 days ago | parent [-]

Kitty also has it, I didn't know prior to today

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

mongol 2 days ago | parent [-]

fantastic!