TMUX can do WHAT?

preview_player
Показать описание

Tmux makes it possible to have multiple panes, windows, and sessions. When should you use them? In this video, I outline my workflow when working on an application with a dedicated API and frontend.

Commands Used:
Open a new window: Ctrl+b, c
Horizontal Pane: Ctrl+b, "
Detach session: Ctrl+b, d
List sessions: Ctrl+b, s
Command Mode: Ctrl+b, : (this is used when renaming sessions)
Rename session: Command Mode + "rename-session [your session name]"
Рекомендации по теме
Комментарии
Автор

tmux is a hell of a savior, i don't know i used to use the terminal without a multiplexer tbh

jamlie
Автор

I always just used windows to split between frontend/backend of the same project, and sessions for either whole personal projects, or per ticket at work. I'll have to try this method out, might make more sense for personal projects.

ziggyshea
Автор

Cool, although you can automate a lot of that, you can use aliases in your shell to create multiple windows.
Tmux is great! i’ve been using it for a couple of years now

ttj_
Автор

tmux new -s <name>. You can name while creating.

silveradopunked
Автор

@typecraft I use a CLI tool called sesh which helps create named sessions and easily jump between them and it uses fzf and zoxide

VitorF
Автор

Okay that's way better than my 6 tabs steup thx for the tip

omarmagdy
Автор

Yep, I do the same exact thing. Except I’ve got about 20 different sessions and generally 3 windows per session. I have a bash script that I run that sets all of them up in about 2 seconds, names them, sets the selected session and window in each. And then I have a zsh command that runs that script. So I “wsl” into WSL2. Then “sts”, which stands for “start tmux server”.

dave
Автор

Tmux is a great little program I use on my Minecraft server box at home

alexc
Автор

i wrote a script to load all my micro services in different windows then split panes to run nvim and npm run dev for all of them. running that script makes me happy because it used to take so so soo much time to do all the manually every day evey time gah

alankjohn
Автор

Love Tmux but it prefix which is Ctrl - something really bug me, some time I just want to be able to hit softer key like alt or space to jump around

HaiNguyen-cfji
Автор

I don't do a ton of nvim yet, but I am loving lazygit. My fellow neck beards are like, I'm not in the market for a new for git client. They are so missing out. a, c, P. Done. So frickin perfect!

kettenbach
Автор

put some icon bro... my console is crying men. hahahaha loveu

alecvalenc
Автор

Great content man!!
Although I have a question, is it possible to save or automate the initialization of the setup?

pablofirpomolina
Автор

Couldnt you use nvim with fg/bg in stead of windows? Switching between sessions does make sense.

wsewlal
Автор

I have tabs in my Linux terminal client. What is the advantage of tmux over tabs?

TheBadFred
Автор

Don’t you get full vim support in a terminal inside nvim?

austinglue
Автор

Is there a difference between detaching, cding, and making a new session, vs just making a new session and cding

aarondanen
Автор

Ever heard of tmux sessionizer by theprimeagen

itsharsh
Автор

I haven't yet understood why people like tmux, I prefer to use screen instead.

AllanSavolainen
Автор

Why not just make a new session from within tmux? I don't understand the benefit of leaving the first session to create the second one.

JourneyofTranscendence