This may be the day where I make the switch from ‘screen’ after many decades! Great video. Very well organized.
@tech_craft
2 жыл бұрын
I moved over to tmux from screen many, many years ago and I haven't looked back. I remapped Ctrl-A to the prefix for a while before deciding I wanted to locate it somewhere more convenient, but I think it helped with the move.
@Oscar-ni3fx
2 жыл бұрын
Great video as always. A small suggestion that would have been helpful for this video. Blink has keycast, which shows on screen the keys you are pressing. For regular videos where what’s important is the text you are typing, it does not matter, but here it could have been useful to show the sequence of prefix+shorcut. Blink even lets you toggle keycast with a keyboard shorcut so you can activate it only when necessary.
@paulmesaric5059
2 жыл бұрын
Love the way you layout your videos, intro, tours and timestamps
@micleh
2 жыл бұрын
Never bothered about using tmux, but you had me sold right from the start. I enjoyed every bit of your explanation and your selection of shortcuts and configuration items felt sensible through and through. Thanks so much for another extremely helpful video.
@tech_craft
2 жыл бұрын
I don't think you'll regret giving tmux a whirl. The more you use it, the more it becomes like second nature.
@chirpybee
2 жыл бұрын
Been using Tmux for years and ashamed to admit I had never used a number of these options. Thank you 👍
@MelRiffe
2 жыл бұрын
I've been using tmux for a while, but not consistently. Because of your video I'll be doing some customizations, especially mouse support. And, until you mentioned it, I hadn't thought to start tmux sessions on my Linux SSH sessions. IMHO, a great tip right there. Thanks!
@traal
2 жыл бұрын
I've been using GNU screen instead for decades... This video finally gave me the push to switch over to tmux. No major problems yet, so I think it'll work. 😊
@tech_craft
2 жыл бұрын
I was screen user too. I do think tmux is a nice upgrade and I hope you'll not be disappointed!
@fredlaxton
2 жыл бұрын
I used to use screen for many years, until it was abandoned. I switched to tmux with little pain, remapping it to use Ctrl-a as the prefix, like screen (muscle memory!). Instead of using ssh directly, I use mosh, which uses ssh internally to connect. Why mosh? Because you can close your laptop, iPad, whatever on one network, go somewhere else where you’re on a different network. Open it back up and your mosh connection is still working. No more dead ssh sessions! Also, it will predict feedback and type it on the screen, even on a slow connection, so it makes slow connections “feel” faster than they really are. I did learn a few tricks, especially about the status line customization. I’d been doing it the hard way with powerline - I will give this a try. Great video!
@tech_craft
2 жыл бұрын
Fully agree with the mosh sentiment - I covered that in my previous video.
@fredlaxton
2 жыл бұрын
@@tech_craft AND I too had done this tmux status line the hard way. I got it set up on Linux and then couldn’t duplicate it on Mac. Following your instructions, I threw out my old powerline mods and got it set up with Dracula in about 10 minutes. THANK YOU!
@user-yn6ii7ys3u
Жыл бұрын
Such a great video. Thanks for making this, was able to start from never having used tmux to complete setup in under 30 mins.
@PowerLlama
6 ай бұрын
not sure if it's mentioned in the comments, but something that helped me remember the prefix is that "b" stands for "buffer". so Buffer-o to cycle etc
@smoocher
Жыл бұрын
I've recently started using my iPad as my main laptop and have been using one terminal window to connect to my Pi. This will help a lot. Thanks!!
@dmitrykhangulyan4349
2 жыл бұрын
I like this channel -- it is so much fun to listen to the explanations of why the tools I use (xmonad, tmux, etc) are the best.
@prgnify
2 жыл бұрын
I used to use TMUX because it was simply the first thing that showed up when I looked for what I wanted/needed to do. But one day it hit me > "I have a thousand lines long vimrc that simply goes to waste when I'm remoting somewhere, especially if all there is is vi". That was when I started using EMACS, of course with evil mode. Since you can open terminals and run a multiplexer from inside emacs, you can just use your editor on literally everything.
@nathanaelculver5308
2 жыл бұрын
Good video, as always. But what I’d really like to see is a tutorial on automation and inter-pane and inter-window communication, such as sending commands to other panes. You could, for example, script the creation of a tmux layout and launch and control apps in other panes, and so forth.
@ryanmchale8902
Жыл бұрын
How do you do this?
@nathanaelculver5308
Жыл бұрын
@@ryanmchale8902 Here’s an example script that will open three panes and send a command to each. You’ll need to run the script from within TMUX: tmux new-session -d tmux rename-window ‘TMUX-automation’ tmux split-window -v -p 35 tmux split-window -h -p 50 tmux select-pane -t 0 ; tmux send-keys ‘echo THIS IS PANE 0’ C-m tmux select-pane -t 1 ; tmux send-keys ‘echo THIS IS PANE 1’ C-m tmux select-pane -t 2 ; tmux send-keys ‘echo THIS IS PANE 2’ C-m tmux -2 attach-session
@GPTkhan
2 жыл бұрын
broken it down makes it seem so user-friendly and easy to use. I can’t wait to start making soft! Thanks again!
@kwadwoamponsah
Жыл бұрын
Your content is like an Ipad pro masterclass.
@tech_craft
Жыл бұрын
Very kind of you to say so!
@joaopauloalbq
2 жыл бұрын
I use tiling window manager (Awesome) which has similar behavior but can be used in GUI programs too, it's the most productive environment!
@ViniciusProvenzano
2 жыл бұрын
This the best tmux vídeo i’ve sene! Great work!
@JEROENHAHAHA
2 жыл бұрын
My left ear really enjoyed this informative video.
@nathanaelculver5308
2 жыл бұрын
I also remap CapsLock as Ctrl, then A as the prefix key, making it super-convenient.
@aronthomas5224
2 жыл бұрын
Very interesting, useful and clear as always. Thank you!
@endodoc
2 жыл бұрын
Great video ! Please more - i learn a lot! Thank you
@Samji3877
2 жыл бұрын
fantastic Tech Craft, and you make your setup look SOOOOOOOO beautiful
@hugovelasco5776
2 жыл бұрын
Thanks for the tutorial! Would love if you came out with one on installing and configuring xmonad
@zonnefroske3225
Жыл бұрын
Thank you so much for sharing your experience with us. God bless you .
@doomikusz
2 жыл бұрын
Please consider either going stereo or dual-mono. Thank you for your videos
@tech_craft
2 жыл бұрын
This issue has been fixed on my latest video. I have a new camera and it's taken me a while to get it sorted.
@billeterk
Жыл бұрын
Ooh.. I’ll have to check out plug-ins. It took me a little while to find a free enough key combo for a prefix but have settled on ctrl-space which works well with space as vim leader too.
@Klausterfull
2 жыл бұрын
Thanks a ton! Didn't know Tmux had a package manager!
@navajyoth814
2 жыл бұрын
Hey Rob, fantastic video as usual! I am really interested in how you customized your shell. Mind doing a video on that or sharing the dotfiles?
@tech_craft
2 жыл бұрын
I have this video that covers most of the shell setup: kzitem.info/news/bejne/mYKZunVrpmiQp6g - if you have questions you can get me on Twitter @tech_crafted
@OlaInTheClouds
2 жыл бұрын
Great tips, been using tmux for a while. awesome tool, being able to leave a running session and pick it up again from else where. It's funny how these "old" terminal tools like vi(m) and screen (from 1987) replaced by tmux is having a second coming. GUI dev tools are nice but sometimes you can't use them and need good cmd line alternatives.
@sfuoncall
2 жыл бұрын
I like tmux for the automation that is possible. The one thing that I prefer "screen" over tmux is that screen can: 1. Save the output to a log file. 2. You can scroll back. screen is only full screen unlike tmux that lets you create panes.
@sfuoncall
2 жыл бұрын
Note: I use both.
@sfuoncall
2 жыл бұрын
Another Note: I also re-map the prefix from Ctrl-B to Ctrl-Z because I am a heavy vim user.
@fredlaxton
2 жыл бұрын
You can scroll back with tmux too.
@sfuoncall
2 жыл бұрын
@@fredlaxton Yeah. I posted a little prematuraly and missed the scroll back. But I still like the log feature to capture the output of long running tasks quickly
@fredlaxton
2 жыл бұрын
@@sfuoncall I was under the impression that screen was abandoned, right? That was a major factor in me switching to TMUX. Has it had more development?
@halemmor
2 жыл бұрын
Which font are you using here? I don’t see it listed in the description. Great video! Been using tmux for a while, albeit very basic setup, but definitely going to incorporate some of the tips and customisations from this video
@tech_craft
2 жыл бұрын
It’s JetBrains Mono
@marcelwiget8996
2 жыл бұрын
I'm using Blink with tmux for some time now. The lack of using mouse to resize pane issue I worked around by using the standard ^B and hitting the arrow keys while keeping ^B pressed. This is good enough for me.
@tech_craft
2 жыл бұрын
Same. I just need the touch to work for my sanity. It really annoys me I haven’t figured it out.
@cppdev2729
Жыл бұрын
dude u saved my life
@nomoremeetings1183
2 жыл бұрын
Very informative! Cheers!
@drumpf4all
2 жыл бұрын
Fecking brillliant mate!
@derpho
2 жыл бұрын
My left ear hurts now
@sebscripts
5 ай бұрын
first reply in one year
@JaisonMiller
2 жыл бұрын
Cool video, going to give it a go - what do you think of byobu? It’s a bit like a preconfigured tmux install that’s quite nice ‘out the box’ :)
@gregf9160
2 жыл бұрын
You and your channel are marvellous 👍😘
@tech_craft
2 жыл бұрын
Very kind of you to say so.
@micleh
2 жыл бұрын
Hi. As to tux and macOS, are you aware that the tmux keyboard combinations can be remapped to match those commonly used in macOS (and other OSs)?. There is a great tutorial by Josh Medeski called "macos keyboard shortcuts for tmux". Thought this info might be interesting.
@tech_craft
2 жыл бұрын
Nice idea. I've gone the other way - I use the same shortcuts I have in my XMonad setup on the Mac.
@theloniuser
Жыл бұрын
Fantastic video. I have done all of this and am excited to use in my workflow. I am getting question marks in the powerline ststus bar at the bottom despite having install what I thought were the correct fonts. Also, I noticed that all sessions disappear on reboot. Thanks!
@tech_craft
Жыл бұрын
Sadly sessions won’t survive reboot of the host. The question marks sounds like you have a font that’s missing the powerline characters. Which font is it? It may have a dedicated powerline variant that you can find in NerdFonts
@theloniuser
Жыл бұрын
@@tech_craft I'm not sure how to tell which one it's missing.
@acafella11Music
4 күн бұрын
Is this a jail broken iPad? How else is he running a different os?
@SeunKyleJohnsonn
2 жыл бұрын
Been waiting for this video for a while Quick question: do you use homebrew on any of your Pi’s ? Is there any need since it already has a package manager ?
@tech_craft
2 жыл бұрын
I don't use Homebrew on the Pi because apt is available, but you certainly can use it. I have considered using Linuxbrew and Homebrew as a way of sharing more of my setup across machines.
@niallkelly1577
2 жыл бұрын
you are a legend!
@darkisildur
2 жыл бұрын
This is just great!! Thanks for sharing. The way your kitty profile looks is also great, would you share your config file? or would you do a tutorial on kitty, please! :)
@tech_craft
2 жыл бұрын
Sure thing!
@x0rZ15t
2 жыл бұрын
TMUX has also different plug-ins that can be managed by TPM (Tmux Plugin Manager). Plugins I use on day-to-day bases are: tmux-sensible tmux-resurrect tmux-continuum tmux-sessionist tmux-logging
@acafella11Music
4 күн бұрын
Noob here. What exactly is he using these terminals for?
@Taddy_Mason
4 ай бұрын
You're rocking 125Gb of RAM on the Mac? 😮😮
@zestynotions
2 жыл бұрын
Long term user of tmux too, but never tried to tpm plugin manager, brilliant! have you tried the tmuxinator for async session and automation that works with tmux? you can then start predefined tmux environment with panes etc and run commands automatically in those panes. Can also have it create multiple ssh sessions in the panes to update many servers async etc. :)
@zestynotions
2 жыл бұрын
btw this is also nice to add in your .zshrc or .bashrc on the servers you connect to = tmux attach || tmux new That way on ssh/mosh login you will always automatically connect to the previous tmux session or create a new if one does not exist :)
@tech_craft
2 жыл бұрын
I was using tmuxinator for a few years, but then I stopped in favour of just leaving the sessions running on machine that I rarely shutdown. I may have to revisit to see what is new though!
@zestynotions
2 жыл бұрын
@@tech_craft Good point, I guess it is more useful for session management on mac so not very helpful if your primary dev environment is the ipad :)
@joshb7415
Жыл бұрын
Cool
@rul1175
Ай бұрын
What theme are u running. Cappuccino?
@A___Way
Жыл бұрын
Sweet, controls are closer to linux screen,minicom etc. Btw nice video :-). I use blink on a ipad pro , blink supports mosh ( mobile ssh) install easy on target machine. Mosh or mosh-server distro dependant. After you can switch wifi to mobile, the connection stays open all day. And im go9ng to try tmux, screen i have used. Good work.just from blink mosh user@machine, all other same.
@MuhammadIqbal-fh8em
2 жыл бұрын
Can you please do beginner's tutorial for soft soft mobile....please...
@totallyperfectworld
2 жыл бұрын
Okay, so how do you combine tmux with mosh in blink - so basically try to attach to an existing tmux session, but if non exists, then create a new session?
@tech_craft
2 жыл бұрын
Essentially yes. You can configure Blink to launch tmux automatically when you log in. You can use a command like `tmux new -A -s ` to attach to a session,creating it if it doesn't already exist.
@kalekold
Жыл бұрын
Forget tmux, just use Terminator as your terminal emulator, it has window splitting and tabs straight out of the box.
@tech_craft
Жыл бұрын
A fine option for terminal directly on the machine, but terminator doesn't help with saving remote sessions.
@inversebrah
2 жыл бұрын
good stuff
@dediaprianto3951
2 жыл бұрын
ikr
@cedricvillani8502
2 жыл бұрын
Blink commercial? I mean of course you can do all this and normally, terminal setups are really old, still use them but there’s so many options and obviously you want to first get Blink. But that’s more of a environment setup like i3w lol or was it iw3, for Linux a free easy one is Terminator
@tech_craft
2 жыл бұрын
I’m not really certain what your point is. Terminator and i3 don’t run on iPad. The bulk of this video is about tmux and not blink.
@basilfeitknecht6430
2 ай бұрын
what app is that on the ipad?
@totallyperfectworld
2 жыл бұрын
I grow up with screens :-)
@StefanWolfrum
2 жыл бұрын
Couldn't wait and started immediately. 😂 Problem: after adding the Dracula plugin line to the .tmux.config file, saving it, reloading with ctrl-t r and doing a ctrl-t I - nothing happens. I don't get that fancy status bar that we see in your video. 😞 Am I maybe missing an installation step for the Dracula tmux theme? On the other hand: no extra installation seems to be needed according to their webpage. #bummer
@StefanWolfrum
2 жыл бұрын
Ohhkayy ... exited the tmux session completely, started a new one, learned that the config file should be named .tmux.conf (not .tmux.config) to be read automatically (because all of a sudden ctrl-t wasn't the command key anymore) and all of a sudden, dracula showed up! 😉
@StefanWolfrum
2 жыл бұрын
Now even configured the hosts I connect to in Blink so that mosh & tmux starts autmatically, tmux attaching to the last session. Very nice! Now I need a cheat sheet for tmux commands next to my iPad Pro screen! 😂 And I have yet to find my command key because ctrl-t is bound in some tools (like nano) to other functions.
@billeterk
Жыл бұрын
@@StefanWolfrum ctrl- is good for me.
@bobsisic5714
Жыл бұрын
Can you install Tmux on iPad without having to ssh to a network pi
@tech_craft
Жыл бұрын
You can try it out with the iSH app, but there's no native support on iPad sadly.
@WeilongYou
Жыл бұрын
I guess my question is, what terminal are you using (that I have to setup) before install tmux...
@tech_craft
Жыл бұрын
sw.kovidgoyal.net/kitty/
@cid-chan-2
2 жыл бұрын
I used my pocket money to pay for a vps. Best decision of my life. My dad banned me from using my computer over weeks. But let me use a small 7" tablet. Let's just say, I learned vim that time.
@tech_craft
2 жыл бұрын
Vim is a super power
@kragrrr
2 жыл бұрын
I would love to use Ubuntu on iPad Pro using Raspberry Pi, if you can figure somehow.
@tech_craft
2 жыл бұрын
I have that working now. I updated the pre-built images with an Ubuntu Server image: github.com/techcraftco/rpi-usb-gadget/ For Ubuntu Desktop, the resulting images are too large for Github. I'm looking for a good hosting alternative, but I'll also post a video with instructions on how to set up Ubuntu Desktop with a nice VNC setup too.
@kragrrr
2 жыл бұрын
@@tech_craft Why do you need hosting? Make an image on the SD Card. Ubuntu 20.04 natively now supports on Raspberry Pi.
@tech_craft
2 жыл бұрын
I am hosting my own images with the necessary USB-C configuration in them. You can certainly add this configuration on top of Ubuntu yourself - and I'll film a video about that - but some viewers prefer using the images with the config baked in.
@kragrrr
2 жыл бұрын
@@tech_craft I am planning to convert my old Laptop into a TrueNAS. Can that be used as for hosting the image?
@joseport123456789
2 жыл бұрын
If only we could select text while scrolling, that’s the only thing refraining me from fully switching to tmux
@tech_craft
2 жыл бұрын
You can. What’s your setup (platform/terminal)? I’ll see if I can dig out the right config.
@joseport123456789
2 жыл бұрын
@@tech_craft Hello, I don't know why but I have typed my reply three times and it has been removed everytime. Anyways, I work on Mac OS on its native terminal. Meanwhile, I've found that manually entering copy-mode instead of enabling mouse on the config file allowed me to select text while scrolling. There's just the "hassle" of having to enter the keyboard shortcut every time. If you have a better configuration, please tell me.
@DigiDriftZone
2 жыл бұрын
Hmm, just out of interest, why kitty over iterm on mac? - iterm is one of the reasons I like using Mac so much for dev!
@tech_craft
2 жыл бұрын
Mostly because I can use the same terminal on Linux too. Helps me reduce the amount of config I’m maintaining. I think kitty looks a little nicer and definitely faster but those are nice to have a for me.
@DigiDriftZone
2 жыл бұрын
@@tech_craft Makes sense, been playing with it a bit and it's pretty nifty. Blink is pretty nifty too. Thank you for making these videos, the iPad may finally find a place in my development workflow :)
@ryanholt9393
2 жыл бұрын
Productivity for what? What kind of work can you actually get done like this?
@tech_craft
2 жыл бұрын
I mean, anything you can run in the terminal, so hundreds of thousands of different apps. Systems admin, website creation, software engineering, writing, the list goes on.
@ryanholt9393
2 жыл бұрын
@@tech_craft Ah I see. I would love to see more videos where you go over the practical application. Or workflows where you are getting real work done. For web development. Which I do. I don’t see how this can work because I need to run a liver visual server to see changes live in a browser.
@tech_craft
2 жыл бұрын
That’s one of my main uses. I run the editor in one tab, then I’m running Eleventy with live preview in another tab. I have my browser window open and basically just get to see the changes live as I make them. For a bit extra I also have tests on auto execute in a terminal tab too. Works a treat.
@ryanholt9393
2 жыл бұрын
@@tech_craft wow very cool! Do you have a video showing the how to get setup with this and start rolling??
@tech_craft
2 жыл бұрын
I haven't but I'm planning some of this deeper content to see how people like it.
@luisdario1493
2 жыл бұрын
Which app for iPad did you use?
@tech_craft
2 жыл бұрын
Blink Shell - blink.sh
@minhtrinh7081
2 жыл бұрын
free hack is always scare, but this is safe, checked
@IdoSamuelson
2 жыл бұрын
have you tried byobu?
@tech_craft
2 жыл бұрын
I have. I used that for a while a few years back and I have a few friends who use it daily. A great option.
@markusjohansson4949
2 жыл бұрын
What font are you using?
@tech_craft
2 жыл бұрын
JetBrains Mono Nerd Font
@markusjohansson4949
2 жыл бұрын
@@tech_craft Thank you Tech Craft
@thaifalang4064
2 жыл бұрын
Only one question? Wh don't you just use a Macbook instead of an iPad with many many stupid workarounds?
@tech_craft
2 жыл бұрын
I use both.
@kickbuttowsk2i
2 жыл бұрын
125 gigs?
@tech_craft
2 жыл бұрын
Got to run Slack 😂
@jaspert1895
2 жыл бұрын
lol
@bonafontciel
Жыл бұрын
Tmux user here. Which iPad app are you using for ssh?
@tech_craft
Жыл бұрын
It’s Blink Shell. blink.sh
@jamilaalainieh3494
2 жыл бұрын
Ive watched tNice tutorials a couple tis and i tNice tutorialnk the key is to slow the video down to .75. TRY IT!!!
@rhettmelton
6 ай бұрын
I got ads for male enhancement and virtual girlfriends throughout your video 🫣
Пікірлер: 135