r/KittyTerminal • u/artemave • 4d ago
File previews on mouse hover
The kitty part of this - on_mouse_move event subscribable via python hook - lives in my fork of kitty, and the actual preview that's using it (along with "open on click" and hints kitten all sharing the same file path resolution code) is part of my session manager called hop.
You can obviously use the fork without hop (it's kept up-to-date automatically with the upstream including releases) and write your own preview code, or (and that's my secret agenda here), go vote on the pr to hopefully convince Kovid to merge it.
63
Upvotes
5
u/TheSymbioteOrder 4d ago
Kitty can always use that. Yeah that would help out alot.
1
u/henruchito72 3d ago
How you do that? Could you show us?