Smart tmux sessions with sesh

  Рет қаралды 5,668

Josh Medeski

2 ай бұрын

github.com/joshmedeski/sesh
All the code samples and links are in the companion blog post on my website ✍️
www.joshmedeski.com/posts/smart-tmux-sessions-with-sesh/
My sesh config 👨‍💻
github.com/joshmedeski/dotfiles/blob/main/.config/sesh/sesh.toml
My tmux config 🪟
github.com/joshmedeski/dotfiles/blob/main/.config/tmux/tmux.conf
Join the Discord Community 🧑‍🤝‍🧑
discord.gg/RQnZH7fFse
Table of Contents
0:00 Hook
0:10 Intro
0:48 How to install
1:07 How it works
1:26 Getting Started
2:15 Startup
2:45 macOS keybinding
3:08 Naming Sessions
3:55 Custom configs
5:56 Default Startup
7:34 Raycast
8:05 Adding to Zoxide
8:30 Wrapping Up

Пікірлер: 42
@JoshMedeski
@JoshMedeski 2 ай бұрын
All the code samples and links are in the companion blog post on my website ✍ www.joshmedeski.com/posts/smart-tmux-sessions-with-sesh/
@siva710
@siva710 2 күн бұрын
@JoshMedeski, waiting eagerly for sesh V2..!!
@JoshMedeski
@JoshMedeski 2 күн бұрын
@@siva710 almost there! Hopefully easily August. Haven’t landed on a launch date yet.
@LordHog
@LordHog 2 ай бұрын
I am no tmux power user, more of a beginner, who uses tmux to keep a session alive especially for long running tests. With that I have no clue to what is going on. I know you kind of gone through some of it, but perhaps a longer tutorial on how use this with a slower pace. Thanks for all the hard work
@KuzyoYaroslav
@KuzyoYaroslav 2 ай бұрын
Enjoying sesh for 2 months. Nice work
@RazoBeckett.
@RazoBeckett. 2 ай бұрын
You really made my job easy so far enjoying using sesh, thanks man
@MilesMoran
@MilesMoran 2 ай бұрын
I've heard about sesh and have seen bits of it in your livestreams and dotfiles, but excited to watch a vid that breaks it down. Thanks
@moosematrix
@moosematrix 15 күн бұрын
Value received! Thank you Josh!
@nicolasperlick5430
@nicolasperlick5430 2 ай бұрын
Sesh is incredible - it makes me so much more productive! I've been looking forward to this video for a while. Great job 🎉
@stevedylandev
@stevedylandev 2 ай бұрын
Been awesome watching sesh grow and can’t wait to try out some of these new features!! Great job as always Josh 🔥🫡
@a1mer06
@a1mer06 2 ай бұрын
I've been using Sesh since the original video and rediscovered it about a week ago :) Thank you for this, helps my tmux workflow a lot
@adriansrfr
@adriansrfr 23 күн бұрын
Very cool, I like it!
@georcecostanza
@georcecostanza 2 ай бұрын
Great video Josh!
@mvargasmoran
@mvargasmoran 2 ай бұрын
Gonna check it out NOW!
@cody_codes_youtube
@cody_codes_youtube 2 ай бұрын
Such a good thumbnail!! Good video too my friend.
@morpheus4564
@morpheus4564 2 ай бұрын
Amazing tool - thx - just get it up & running :)
@adibhanna
@adibhanna 2 ай бұрын
great video!
@jesseleite
@jesseleite 2 ай бұрын
You are a beast 🔥
@Reducer
@Reducer 2 ай бұрын
I’ve used sesh for about a month now and I’m really still only doing very basic stuff, so this was very inspiring! In fish I already had ctrl-gg to use ghq to list all my git repos and cd to them using fzf, but maybe I can extend that to start a new tmux session instead of just cd.
@JoshMedeski
@JoshMedeski 2 ай бұрын
Thanks! I recommend getting used to using sesh to open your git repos, I don’t cd very much with this workflow 😃
@Reducer
@Reducer 2 ай бұрын
@@JoshMedeski Yeah, I don't actually manually cd, fzf changes directory for me, but under the hood it's cd so zoxide gets trained on it. And gum definitely looks useful, I'll have to play around with that.
@kirk1240
@kirk1240 18 күн бұрын
Used your original plugin and have been using sesh for the past month, honestly couldn't imagine not having it because the workflow is just so simple and unobtrusive
@JoshMedeski
@JoshMedeski 18 күн бұрын
@@kirk1240 glad you like it!
@ericgarza283
@ericgarza283 2 ай бұрын
This is really good, though for me, the primeagen's tmux script works just fine.
@devopstoolbox
@devopstoolbox 2 ай бұрын
Love it Josh! Great thumbnail too! Question - I was contemplating myself whether I want to use Go and enjoy a "real" language, but the thing is - that would mean cross compiling and releasing to package managers. I know go-releaser does all the heavy lifting, but for a tmux plugin this felt a little over-the-top, and maybe intimidating to new users... I'm also always worried when there's no good wrapper around system tools which means I'd have to shoot sub-shell calls, in this case with tmux commands, do you feel this changes anything? Thanks!
@JoshMedeski
@JoshMedeski 2 ай бұрын
I have other tmux plugins that I've authored, and I think it depends on the complexity of the features. This is doing a lot more than interacting with just tmux (zoxide and the new toml config described in the video), and there are plans to add more features. So GoLang proved to be a much better choice. But for my other plugins a couple lines of bash and the tpm workflow are more than enough.
@micaelviana
@micaelviana 2 ай бұрын
what's the name of the show in the beginning? Evangelion vibes
@sunilunnithan
@sunilunnithan 2 ай бұрын
Great video! Where do I find all the aliases in your dotfiles, like zad or other useful ones?
@JoshMedeski
@JoshMedeski 2 ай бұрын
github.com/joshmedeski/dotfiles
@florian6385
@florian6385 11 күн бұрын
Is there a way with sesh to configure multiple sessions with the same startup_script ? with a regex in the path ? For example : [[session]] path = "~/Dev/Work/npm/*" startup_script = "~/Dev/Work/npm/tmux_startup_script.sh" [[session]] path = "~/Dev/Work/projects/*" startup_script = "~/Dev/Work/projects/tmux_startup_script.sh" [[session]] path = "~/Dev/Perso/*" startup_script = "~/Dev/Perso/tmux_startup_script.sh"
@lebaptoumetrage6396
@lebaptoumetrage6396 2 ай бұрын
what do you think about tmux sessionizer?
@JoshMedeski
@JoshMedeski 2 ай бұрын
I like the project, but it’s too simple for my needs.
@patuitar1117
@patuitar1117 2 ай бұрын
What is that File picker at 6:21 and 5:01?
@JoshMedeski
@JoshMedeski 2 ай бұрын
It’s called yazi!
@laughingvampire7555
@laughingvampire7555 2 ай бұрын
tmux just adds overhead, specially in macos, in linux runs a lot better but still, I can feel the shell sluggish, this is why I prefer emacs + linux
@JoshMedeski
@JoshMedeski 2 ай бұрын
Curious to learn how you switch projects in emacs. I used Spacemacs for years but never had an efficient workflow for that
@RobertGottlieb
@RobertGottlieb 2 ай бұрын
For those mac users wanting the command keys to work on kitty, try something like the following: map cmd+t send_text all \x02c. the \x02 (small X, not sure why we can't have lowercase anymore) is the ctrl-b prefix, in this case c after it is creating a new window or tab if you prefer to call it that. So CMD+T now creates a new window/Tab in tmux
@GordonChil
@GordonChil 12 күн бұрын
Wow. I have not tried any new terminal software for quite a while. I never got into tmux, but have had coworkers who do. Needless to say, I have no idea what is being said here. I have no idea what sort of workflows sesh, or any other tmux plugins, enable.
@gravityshark580
@gravityshark580 2 ай бұрын
love this application, this video really showed me more than what i first used sesh (t) for and very much liked the new possibilities you have shown me
@JoshMedeski
@JoshMedeski 2 ай бұрын
More is coming!