Hello brothers,
What do you think I have come up with today. Indeed I am following the 100 things principle up until this day, I know what's good for me and indeed I am doing that.
For sure this is what I have learnt today
What? The answer to What
is that it a terminal multiplexer, so basically you can have the feel of multiple terminals in a single terminal.
How? It's simple we just have to install the cli tool. In my case as I am an Arch user
I use arch btw
I just install it using the command pacman -S tmux
Why? There's no question why I am going to use it in the future. It just saves a lot of my time. That's it. I have recently started using the lunar vim. Just another configuration for neovim that is of course configuration for vim using lua that is indeed a configuration of vi and using vimscript.
Ok back to the point, I just like what tmux is doing. There are basically 5-10 simple commands to learn and that's it. You will save atleast half an hour per day and more than that you will save yourself and your mind being frustrated everyday going back and forth in terminal using the mouse. Because in my case even the Ctrl + Tab
doesn't wok, so I had to figure out something.
How can you use it? Though I don't think whatever I am writing right here is ever going to public, I think I would convert this to a GitHub gist (most probably). But still I am going to write the commands right here, just because I want to memorize them and want to learn some writing skills as well.
Ok so let's start. I am considering that you have already figured out how to install Tmux on you system. weather it's deb, rpm or anything else. (I use arch btw).
tmux new -s <session name>
You will instantly we sent to that session, you will see a status bar there. To get out of the session you can press Ctrl B
and then d. This command will Detach the session.Ctrl + B
from now. Press and then c
. you will have a new windows ready to use.Other commands
I think that's enough about T-mux from my side, you can google the rest.