Practical tmux: A How-To Guide Beyond the Basics
HTML-код
- Опубликовано: 13 сен 2024
- There are plenty of excellent resources for tmux for beginners, but this video takes you a step further. You will learn how to effectively use tmux in a real workflow, looking at a few advanced features and see how to take advantage of the tmux extensibility and use sessions well.
- my .tmux.conf: github.com/Pio...
I have to apologize to my tmux for under-utilizing it for the last years, I'll go steal your config file :) The ability to search for a string and copying it is amazing. And I'll start using sessions. Thanks!
Absolutely, grab whatever you need. I tried to comment a bit more advanced configs, but if you cannot decipher something, just drop a comment here.
Copy mode is really cool and I use zoom function all the time. Have fun with the config :)
Thank you for this useful list.
I use Espanso as my text expander.
Thank you! Espanso looks nice. I'm mostly using Autokey for system-wide expansions.
Great job as always.👏👏
Came from Mastodon. Subscribed!
Thank you!
Wtf is mastodon?
Great content
Subscribed
Oh and what's the tool you are using to make presentations through the terminal?
I use this one: github.com/maaslalani/slides, you can also find source code for my videos in this repository: github.com/Piotr1215/youtube
19:24 Sorry what is 'et'? I can't find it
He meant @
Yes, I meant @ sorry. Those are key bindings I have defined for split and reattach panes. I haven't showed this, but you can also move panes around easily from another session into current session (bindings with S and V below).
# Detatch and attach tmux pane
bind-key ! break-pane -d -n _hidden_pane
bind-key @ join-pane -s $.1
# Select pane to join to active window as a (S)plit
bind-key S choose-window 'join-pane -v -s "%%"'
# Select pane to join to active window as a (V)ertical split
bind-key V choose-window 'join-pane -h -s "%%"'
@@cloud-native-corner oh thank you. I'll copy it from your dot files. Cheers brother!
isn't zsh much better ?
zsh is a terminal shell whereas tmux is a terminal multiplexer, they can work together. In the video I'm using zsh with tmux.