-- Leo's gemini proxy

-- Connecting to szczezuja.flounder.online:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Heaven of tmux!


I was aware of screen and it was obvious for what it is used. When I started to write my Gemlog I set up a Linux environment. My life behind remote SSH session had been frequent but short and single purpose. After I started writing It changed. There are need to use more and more utilities, and there are need to open many windows. I went back to (as I thought) a modern approach of screen called [Byobu]. After a while I realised that it's only proxy for screen and tmux. And it was accident that I choosed tmux.


At first I was trying to remember Byobu shortcuts and it was pain. My laptop keyboard has function keys merged with multimedia keys, so I must use Fn key for using them. And it wasn't natural to remember that for example F8 is renaming - why F8?


But there are Byobu alternatives for function keys - I had read. It's interesting and more natural. First of all was C-a c for creating a new window. It's clear, that c stands for creating.


After a while, I realized that it's tmux keys shortcuts. And in some way is so natural for using them.


C-a % and C-a | for window splitting in vertical or horizontal panes.

C-a and number for choosing a window and C-a and arrow key for choosing pane.

If something is complicated I typing a command by C-a and, for example, ":resize-pane -L 20" (with history completion) for resizing pane to left for 20 columns.


Step after step I got into the world of tmux. Work in SSH environment with many windows is seamless like in graphical windows managers. The last lacking concept was copy&paste. I was doing this by host OS clipboard, but it's wrong way. Of course tmux has C-a [ for copying, and C-a ] for pasting. What is more, with marking text for copying selector (starting by spacebar and ending by enter key) which respecting multipane windows borders.


I step into a [tmux heaven]!


The only thing I'm still looking for is good text cheat sheet. I found only some [graphical cheat sheet].


[Byobu];

[graphical cheat sheet];

[tmux heaven] as screenshot for people liking to watch;


--

szczezuja.space CC BY-SA

@ Mon 24 May 2021 09:57:47 PM CEST


tags: #cli, #tmux, #cheatsheet

-- Response ended

-- Page fetched on Fri May 10 01:57:43 2024