Hidden Tmux POWER: The Missing 50%

preview_player
Показать описание
There's no really good way to control sessions in Tmux and that's a shame! Such a powerful concept without a proper interface. So I created one! Introducing - Tmux-SessionX.

Ways to support this channel:

LINKS

⏱ Timestamps
00:00 - Intro
01:37 - SessionX
03:18 - Getting started
05:07 - Power features
08:05 - Building a 2nd Brain with Neovim

#productivity #tmux #sessions #neovim #terminal #vim #dev #devops #linux #console
Рекомендации по теме
Комментарии
Автор

Join 1000+ subscribers getting one dev/sec/ops tip every Friday: signup.omerxx.com

devopstoolbox
Автор

Thanks for the shoutout! It’s always cool to see how people make tmux work for them.

JoshMedeski
Автор

quality content no joke, just needed to watch two vids and I was sold

xchilli
Автор

At this point all this feels like is over engineering something that is straightforward as it is.
I have used tmuxifier for a lot of time for projects which you are actually working on and it takes less than a minute to create a session file.
Also i don't understand how people find <prefix>w not enough for their usage it is as straightforward as it is and provides all the necessary previews as well.
Could just be me but at this point it is just too much obsession.

AhmadMughal
Автор

I'm on Debian based distor, 2 years is cutting edge.

NoLoginIdea
Автор

Quality video, straight to the point, clear and informative with useful asides.

Subscribed 2 min into the vid 😂

usmanasad
Автор

how do you integrate it with git worktrees? I have ~/projects and inside, some folders are regular git repos, some are worktrees with nested folders with actual worktrees inside. I want to list only nested ones, not the dir with bare repo.

michaelns
Автор

I've got an odd request: more often than I like, I have to login to a session from the console. I attach to tmux and I am met with the worlds most disgusting color scheme. You like dark blue on black, right? It's super easy to read. :D
Is there a solution to that? I use the rose-pine colorscheme everywhere I can - my personal favorite. In alacritty on a regular desktop setup, it looks wonderful - nerd font deliciousness, and all that.
But when I break my rig and have to drop to a console, all of that goes away and the color scheme breaks too. I am ok with missing out on the nerd font icons (although if that's doable in the console that would be great). But I can't stand trying to edit a config file with nvim and seeing blue on black lol.

I realize this is unrelated to your session manager. I tried to install it a few weeks ago but I couldn't get it to activate from the keybinding. I have tmux-sessionizer installed and it's become a simple and effective part of my workflow. I use 3-5 sessions typically and save/restore them automatically, etc. I do like the way you integrated zoxide into the session creation - very clean. Maybe it didn't work because I was using tmux-sessionizer at the same time? I'm not sure.

Lastly, ssh. I have a few VMs and each of those has a tmux server running. It's kind of a pain for me to load my sesh, then ssh into those servers in each window of my session, and then attach individually to each server's tmux server... Do you have this problem, and have you found any clean ways around it? Btw, I'm using ssh keys that are password protected (MFA ftw) which makes it harder to autoconnect to ssh. Maybe an ssh-agent integration?

hesperauxyo
Автор

Cool setup. For sessions management, I use tmuxinator (if sessions need to have predefined windows and panes etc). If the session is simply starting a new session from a folder, I use my own script, which is similar to yours but with way less features.

Peter
Автор

Please make a video about using wezterm and tmux as default setup ❤

JustMyTwoCentz
Автор

Have you tried Zellij, how does it compare to tmux?

vencler
Автор

I'm really struggling to understand things you're showing in your video, but i already love the way your tmux overall looks. I'm pretty newbie on linux, and only able to somewhat use default tmux with panes (i keep forgetting bind for window's, so i'm not bothered with them for now, and i dont even have any work to do in terminal).
I hope future me would understand all the things you're showed up in here with ease.
If you have any guide videos, i'll be glad to check them out, cuz i love to learn linux for myself

Gesas
Автор

TUMX is a super utility for managing multiple pans.
what terminal are using in the video

SajidAliSoftwareEngineer
Автор

Wait, no mention of the repo URL in the description? 😆

farzadmf
Автор

Aren't sessions like having multiple virtual desktops?

anasouardini
Автор

The "native" session picker is pretty underwhelming. Love your simple approach of a small plugin that lives in your tmux config alongside other tmux plugins. Not sure what the comment about over-engineering is about, unless their definition of "over engineering" is coming up with a solution to a problem that involves writing code (heaven forbid). What I'm seeing is an excellent combination of popular, well maintained tools (fzf, zoxide, charm/glow, bat, tpm) that are neatly tied together with a few bash scripts.

darksinge
Автор

There’s already a session picker in tmux, prefix s. I use a simple fzf script for this with bat preview, which is marginally nicer than the built in picker. Your one looks marginally nicer than the script. However, I really don’t like visual clutter. The best way to reduce visual clutter is to keep the information in your brain. You really should know that session A is for project A’ etc, this eliminates the need for the preview. Of course, the ultimate session switcher would probably involve just hitting some keys and switching immediately without any fzf picker intermediate step. More reliance on memory leads to less reliance on visuals.

nickmills
Автор

add which-key nvim on your nvim repo pls

dillysluvu
Автор

Will you eventually make a discord or something?

emilnordgard
Автор

Nice just started trying out SessionX pretty cool

Richetechguy