this post was submitted on 11 Jul 2023
7 points (100.0% liked)

Tmux

203 readers
1 users here now

founded 1 year ago
MODERATORS
7
Fzf Tmux Session Manager (howarddo2208.github.io)
submitted 1 year ago by howarddo to c/tmux
 

I already posted this on c/commandline but I think it's more suitable here.

top 6 comments
sorted by: hot top controversial new old
[–] mrCunningham 3 points 1 year ago* (last edited 1 year ago) (1 children)

it would be nice to navigate the list with j/k but this is awesome, thanks

[–] howarddo 1 points 1 year ago* (last edited 1 year ago)

Yeah, I would've tried to implement that if I hadn't custom mapped my keyboard Capslock+hjkl to arrows.

[–] SuperFola 2 points 1 year ago (1 children)

Thanks, this is really cool!

If you don't want the border because you applied a style to fzf, you can add -B to the display-popup tmux command.

[–] howarddo 1 points 1 year ago

cool, I'm still a noob in both tmux and fzf, so I wouldn't know much else to add. The script is just a result of asking ChatGPT and debugging.

[–] autokludge 2 points 1 year ago (1 children)
[–] howarddo 1 points 1 year ago

I knew and currently use tmux sessionizer, but only to open git repos as sessions. But I don't really like its session switcher, it doesn't allow delete and adding so that's why I created this.