Getting Started with Tmux

  Рет қаралды 3,183

Andrew Courter

Andrew Courter

Күн бұрын

Пікірлер: 25
@ascourter
@ascourter 2 ай бұрын
What's your favorite feature of tmux?
@sebastianwittenkamp2738
@sebastianwittenkamp2738 2 ай бұрын
Rebinding the default keys is really helpful so that it doesn't collide with bash defaults which is really nice. I bind to Ctrl-O for that reason. The copy/paste feature often gets overlooked by newcomers as well, quite handy.
@VČ-u9z
@VČ-u9z Ай бұрын
Probably detach and run in background, then reconnect. I use Iterm2 and it has also sime split functionality and you can enable tmux profile for it. But on servers tmux is something I must have 🙂
@linkarzu
@linkarzu 2 ай бұрын
My favorite feature of tmux is sessions and that it allows me to switch to wezterm, ghostty or kitty and use my same keymaps. Nice video! 🤝
@demipy
@demipy 2 ай бұрын
Thank you for sharing!
@loo_9
@loo_9 2 ай бұрын
i’ve found continuum and resurrect a bit intrusive. when i exit tmux and go back in it takes a while to load and flashes through all the sessions. so if i accidentally exit (skill issue IK) then re-enter i have to sit through the loading even though it’s loading the old state of the session i just closed. any suggestions?
@ascourter
@ascourter 2 ай бұрын
I definitely get the frustration. Let me dig into it, I don't know a great solution off the top of my head.
@proton46
@proton46 2 ай бұрын
Nice video, i haven't used it in some time., i think i'll try it again now.
@ascourter
@ascourter 2 ай бұрын
@@proton46 thanks! Let me know if you run into difficulties and I can make a follow on video.
@chenxinyan2004
@chenxinyan2004 Ай бұрын
I am switching from WezTerm to kitty, and my keymap for switching to left pane with C-h inside tmux is not working. I couldn't figure out what's wrong. How did you config your kitty with tmux to be able to navigate with C-hjkl?
@ascourter
@ascourter Ай бұрын
@@chenxinyan2004 I didn't add anything for kitty. I did add key mappings in my tmux.conf. Also note that if you're trying to switch panes from Neovim to a terminal, you'll need a Neovim plugin for that. Hopefully that helps!
@chenxinyan2004
@chenxinyan2004 Ай бұрын
@@ascourter Yes I did setup everything and it worked in WezTerm as expected. The problem only exists in kitty and I am not sure if it is because of kitty's keyboard protocal
@chenxinyan2004
@chenxinyan2004 Ай бұрын
@@ascourter I cannot switch from tmux pane to tmux pane using C-h, but it works fine with nvim pane to tmux pane.
@VČ-u9z
@VČ-u9z Ай бұрын
Thanks for tutorial and config! When I use this config I do not have same UI as you have in video, I got default green tmux bar on top of Kitty terminal but no tabs with fancy colors and text in it? I also tried to use spaceship but all tabs dropped down with some strange tabs colors like grey color boxes with ~ symbol
@ascourter
@ascourter Ай бұрын
@@VČ-u9z do you have a nerd font configured?
@VČ-u9z
@VČ-u9z Ай бұрын
@@ascourter I have Jetbrains Nerd Font -- brew install font-jetbrains-mono-nerd-font -- font_family JetBrainsMono Nerd Font bold_font JetBrainsMono Nerd Font italic_font JetBrainsMono Nerd Font bold_italic_font JetBrainsMono Nerd Font font_size 13 background_opacity 0.95
@VČ-u9z
@VČ-u9z Ай бұрын
​@@ascourter thanks for reply, I have JetBrainsMono Nerd Font in kitty settings font_family JetBrainsMono Nerd Font bold_font JetBrainsMono Nerd Font italic_font JetBrainsMono Nerd Font bold_italic_font JetBrainsMono Nerd Font font_size 13 background_opacity 0.95
@marble_wraith
@marble_wraith 2 ай бұрын
I prefer weztem. The built-in multiplexer isn't quite as feature rich as tmux, but it's good enough for me. Plus you can run wezterm natively on all platforms including windows, and it's configured via embedded lua.
@bagfleet
@bagfleet 2 ай бұрын
I’m intrigued by tmux, but I don’t see how it should work in tandem with my tiling window manager. Since I already have different terminal windows as “panes” in my window manager. Having different panes in tmux as well seems superfluous. I don’t even see a reason to use tmux with just my neovim sessions. Neovim is so easy to start and get going that having persistent sessions doesn’t add anything. Maybe I’m missing something obvious? Thanks for a great video btw!
@ascourter
@ascourter 2 ай бұрын
Good questions! I'll probably make another video going over my workflow and I'll try to speak to your questions and what benefits and tradeoffs there are
@DavideFicano
@DavideFicano 2 ай бұрын
As usual your videos are useful, focused on the goal. I'm really confused on how to integrate tmux on my work flow (as developer), how to get benefits from using it. I open multiple terminal windows (without tmux) and in one I edit files with nvim, in another I start the web server, in yet another a new nvim session, honestly I'm fine but I would like to understand if using tmux I can work even better. Every time I start using tmux but then I stop intimidated by the keyboard shortcuts to use and by the fact that a single panel window doesn't help me. Can you make a new video where you show how to get the most out of switching from an "old" way of thinking like mine to one that includes tmux?
@ascourter
@ascourter 2 ай бұрын
@@DavideFicano thanks for the feedback and the question. I talked through a couple scenarios or workflows but didn't show them in practice. I think having a video on that could be very useful. In the interim, I think tmux would allow your environment to be more consistent and navigable than having separate terminal windows. You'd also be able to resume long running sessions and work across multiple projects. How do you switch between projects today? And how do you navigate between different terminal windows?
@DavideFicano
@DavideFicano 2 ай бұрын
@@ascourter currently every terminal window is a "project", tabs on window are strictly related, for example two nvim instances editing files on same projects Navigation is done brutally with CMD+Tab, very fast Rarely I connect via SSH so resuming long process isn't really useful for me, other long running tasks run via docker or simply locally (like web server, deno, vite)
@cody_codes_youtube
@cody_codes_youtube 2 ай бұрын
FIRST🎉🎉🎉
@ascourter
@ascourter 2 ай бұрын
Fastest hands in the west
My tmux Workflow
8:39
Andrew Courter
Рет қаралды 3,1 М.
Is Hop.nvim better than Flash.nvim?
16:04
Andrew Courter
Рет қаралды 9 М.
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 312 М.
you need to learn tmux RIGHT NOW!!
17:46
NetworkChuck
Рет қаралды 602 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 170 М.
What the hell is Zellij?
8:00
typecraft
Рет қаралды 85 М.
DeepSeek is a Game Changer for AI - Computerphile
19:58
Computerphile
Рет қаралды 1 МЛН
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1,1 МЛН
OpenAI's nightmare: Deepseek R1 on a Raspberry Pi
4:18
Jeff Geerling
Рет қаралды 1,7 МЛН
Why oil.nvim is the best directory plugin
9:12
Andrew Courter
Рет қаралды 34 М.
Hidden Tmux POWER: The Missing 50%
8:52
DevOps Toolbox
Рет қаралды 30 М.
I'm ditching Alacritty. Here's why
6:44
typecraft
Рет қаралды 118 М.
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН