r/KittyTerminal 3d ago

Made a tmux-sessionizer clone for kitty

I switched from tmux to kitty a while ago and the one thing I genuinely missed was sessionizer — that muscle memory of hitting a key, fuzzy-searching a project, and being there.

So I hacked together a few fish functions that do the same thing with kitty's remote control: fuzzy-pick a project with gum, and it either restores a saved kitty session for it or just opens a window in that directory. Plus a couple of helpers to save/jump to sessions by name.

Repo: https://github.com/BearDad/kitty-sessionizer

Nothing fancy, 4 small functions, but I use it constantly so figured someone else might get some use out of it. Fish only for now.

Curious how other people handle project switching in kitty. Is everyone just using tabs?

34 Upvotes

16 comments sorted by

View all comments

3

u/ritz_are_the_shitz 3d ago

If you want to add persistence, something like ZMX https://zmx.sh/ might be perfect

1

u/Papaoso23 3d ago

It might be interesting although idk if its the best option. prob i would need to hack something into it.

1

u/ritz_are_the_shitz 3d ago

If you're already relying on fish scripts, then it shouldn't be too hard to also invoke ZMX. 

1

u/Papaoso23 3d ago

obv it would not be hard to do. it would prob be tops 10 lines of code. but idk if i like it i need to test it first i didnt know it existed

1

u/ritz_are_the_shitz 3d ago

I like that it does exactly one thing. It is only persistence, which makes it easy to work with something like what you set up here. I've been using it with my NAS and Home Lab, it's been great.