Smart tmux sessions with sesh

  Рет қаралды 9,761

Josh Medeski

7 ай бұрын

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

Пікірлер: 49
@JoshMedeski
@JoshMedeski 7 ай бұрын
All the code samples and links are in the companion blog post on my website ✍ www.joshmedeski.com/posts/smart-tmux-sessions-with-sesh/
@a1mer06
@a1mer06 7 ай бұрын
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
@nicolasperlick5430
@nicolasperlick5430 7 ай бұрын
Sesh is incredible - it makes me so much more productive! I've been looking forward to this video for a while. Great job 🎉
@MilesMoran
@MilesMoran 7 ай бұрын
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
@RazoBeckett.
@RazoBeckett. 7 ай бұрын
You really made my job easy so far enjoying using sesh, thanks man
@KuzyoYaroslav
@KuzyoYaroslav 7 ай бұрын
Enjoying sesh for 2 months. Nice work
@cody_codes_youtube
@cody_codes_youtube 7 ай бұрын
Such a good thumbnail!! Good video too my friend.
@stevedylandev
@stevedylandev 7 ай бұрын
Been awesome watching sesh grow and can’t wait to try out some of these new features!! Great job as always Josh 🔥🫡
@LordHog
@LordHog 7 ай бұрын
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
@kirk1240
@kirk1240 5 ай бұрын
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 5 ай бұрын
@@kirk1240 glad you like it!
@moosematrix
@moosematrix 5 ай бұрын
Value received! Thank you Josh!
@devopstoolbox
@devopstoolbox 7 ай бұрын
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 7 ай бұрын
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.
@mvargasmoran
@mvargasmoran 7 ай бұрын
Gonna check it out NOW!
@Reducer
@Reducer 7 ай бұрын
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 7 ай бұрын
Thanks! I recommend getting used to using sesh to open your git repos, I don’t cd very much with this workflow 😃
@Reducer
@Reducer 7 ай бұрын
@@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.
@gravityshark580
@gravityshark580 7 ай бұрын
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 7 ай бұрын
More is coming!
@morpheus4564
@morpheus4564 7 ай бұрын
Amazing tool - thx - just get it up & running :)
@georcecostanza
@georcecostanza 7 ай бұрын
Great video Josh!
@siva710
@siva710 5 ай бұрын
@JoshMedeski, waiting eagerly for sesh V2..!!
@JoshMedeski
@JoshMedeski 5 ай бұрын
@@siva710 almost there! Hopefully easily August. Haven’t landed on a launch date yet.
@adriansrfr
@adriansrfr 6 ай бұрын
Very cool, I like it!
@sunilunnithan
@sunilunnithan 7 ай бұрын
Great video! Where do I find all the aliases in your dotfiles, like zad or other useful ones?
@JoshMedeski
@JoshMedeski 7 ай бұрын
github.com/joshmedeski/dotfiles
@adibhanna
@adibhanna 7 ай бұрын
great video!
@jesseleite
@jesseleite 7 ай бұрын
You are a beast 🔥
@florian6385
@florian6385 5 ай бұрын
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"
@patuitar1117
@patuitar1117 7 ай бұрын
What is that File picker at 6:21 and 5:01?
@JoshMedeski
@JoshMedeski 7 ай бұрын
It’s called yazi!
@peer2pirate
@peer2pirate 2 ай бұрын
Hey! I'm using Sesh on Mac with iterm2 but it's painfully slow to load - like 10+ seconds. What terminal emulator are you using? Any tips for optimizing? Thanks!
@JoshMedeski
@JoshMedeski 2 ай бұрын
@@peer2pirate I found a drop in performance recently. If you submit a GitHub issue we can dig into it further, thanks!
@lebaptoumetrage6396
@lebaptoumetrage6396 7 ай бұрын
what do you think about tmux sessionizer?
@JoshMedeski
@JoshMedeski 7 ай бұрын
I like the project, but it’s too simple for my needs.
@ericgarza283
@ericgarza283 7 ай бұрын
This is really good, though for me, the primeagen's tmux script works just fine.
@micaelviana
@micaelviana 7 ай бұрын
what's the name of the show in the beginning? Evangelion vibes
@zizrtip8047
@zizrtip8047 2 ай бұрын
any keybindings suggestions for non mac users, since I'm mostly comfortable with ctrl, but most of them are already used by nvim
@JoshMedeski
@JoshMedeski Ай бұрын
Have you heard of the hyper key? It's a popular choice for setting up globally unique bindings.
@zizrtip8047
@zizrtip8047 Ай бұрын
@@JoshMedeski never heard of it. I think that's the way to go, thx
@JoshMedeski
@JoshMedeski Ай бұрын
@@zizrtip8047 Lots of good resources out there for now to set it up, good luck!
@laughingvampire7555
@laughingvampire7555 7 ай бұрын
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 7 ай бұрын
Curious to learn how you switch projects in emacs. I used Spacemacs for years but never had an efficient workflow for that
@TheCorruptedHuman
@TheCorruptedHuman 3 ай бұрын
You lost me when you said "go"
@RobertGottlieb
@RobertGottlieb 7 ай бұрын
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 5 ай бұрын
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.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
Карина Кросс #shorts
0:16
Dolly and Friends Shorts Cartoons
Рет қаралды 361 М.
Making of Marble in Factory #shorts #ashortaday #indianstreetfood
0:59
Indian Food Vlogs
Рет қаралды 6 МЛН
Проверил, как вам?
1:01
Коннор
Рет қаралды 964 М.
Таким раствором работать одно удовольствие
1:00
Профессия созидатели
Рет қаралды 954 М.
ТЕЛЕФОН МЕНЯЕТ ЦВЕТ😅 #upx
0:34
RanF
Рет қаралды 639 М.
Заставила парня продать зажигалки
0:52
Жизнь Барахольщика
Рет қаралды 3,3 МЛН