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Ай бұрын
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 🙂
@linkarzu2 ай бұрын
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! 🤝
@demipy2 ай бұрын
Thank you for sharing!
@loo_92 ай бұрын
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?
@ascourter2 ай бұрын
I definitely get the frustration. Let me dig into it, I don't know a great solution off the top of my head.
@proton462 ай бұрын
Nice video, i haven't used it in some time., i think i'll try it again now.
@ascourter2 ай бұрын
@@proton46 thanks! Let me know if you run into difficulties and I can make a follow on video.
@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Ай бұрын
@@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Ай бұрын
@@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Ай бұрын
@@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Ай бұрын
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Ай бұрын
@@VČ-u9z do you have a nerd font configured?
@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Ай бұрын
@@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_wraith2 ай бұрын
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.
@bagfleet2 ай бұрын
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!
@ascourter2 ай бұрын
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
@DavideFicano2 ай бұрын
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?
@ascourter2 ай бұрын
@@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?
@DavideFicano2 ай бұрын
@@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)