W. Glenz avatar

LINUXOPOLIS # 12-FEBRUARY-2020 ~ TMUX

wglenz

Published: 12 Feb 2020 › Updated: 12 Feb 2020LINUXOPOLIS # 12-FEBRUARY-2020 ~ TMUX

LINUXOPOLIS # 12-FEBRUARY-2020 ~ TMUX

TMUX

Building a Linux Habitat
willi glenz @ telegram
Published with SteemPeak
home ~ previous

screenshot by willi glenz

$ vim ~/.config/fish/functions/gtmux.fish

function gtmux --description "tmux"
    clear; echo
    echo '==========================================================================='
    echo '                            TMUX - CHEAT SHEET                             '
    echo '==========================================================================='
    echo ' commands     $ tmux list-commands | fzv          ^b:list-commands         '
    echo ' keys         $ tmux list-keys | fzv              ^b:list-keys             '
    echo '---------------------------------------------------------------------------'
    echo '                                                                           '
    echo 'SESSIONS                                                                   '
    echo '                                                                           '
    echo ' list         $ tmux ls                           ^bs                      '
    echo ' attach       $ tmux a    $ tmux attach -t name                            '
    echo ' create       $ tmux new -s name                  ^b:new -s name           '
    echo ' rename                                           ^b$                      '
    echo ' switch       $ tmux switch -t name               ^bs                      '
    echo ' detach                                           ^bd                      '
    echo '                                                                           '
    echo 'WINDOWS                                                                    '
    echo '                                                                           '
    echo ' list                                             ^bw                      '
    echo ' create                                           ^bc                      '
    echo ' rename                                           ^b,                      '
    echo ' delete                                           ^bd                      '
    echo ' switch                                           ^bn ^bp ^b0-9            '
    echo ' zoom                                             ^bz                      '
    echo '                                                                           '
    echo 'PANES                                                                      '
    echo '                                                                           '
    echo ' split                                            ^b% ^b"                  '
    echo ' switch                                           ^bo                      '
    echo '                                                                           '
    echo '==========================================================================='
    echo; read
    
    clear; echo
    echo '==========================================================================='
    echo '                            TMUX - CHEAT SHEET                             '
    echo '==========================================================================='
    echo '                                                                           '
    echo 'INSTALLATION                                                               '
    echo '                                                                           '
    echo ' $ apt-cache search tmux screen                                            '
    echo ' $ apt-cache show tmux                                                     '
    echo ' # apt install tmux                                                        '
    echo ' $ man tmux                                                                '
    echo '                                                                           '
    echo 'CONFIGURATION                                                              '
    echo '                                                                           '
    echo ' $ vim ~/.tmux.conf                       github.com/samoshkin/tmux-config '
    echo '      set -g prefix C-a                          github.com/tmux/tmux/wiki '
    echo '      unbind C-b                                                           '
    echo '      bind C-a send-prefix                                                 '
    echo '                                                                           '
    echo '      bind | split-window -h                                               '
    echo '      bind - split-window -v                                               '
    echo '      unbind \'"\'                                                         '
    echo '      unbind %                                                             '
    echo '                                                                           '
    echo 'DOCUMENTATION                                                              '
    echo '                                                                           '
    echo ' homepage                                             github.com/tmux/tmux '
    echo ' tutorial I       thoughtbot       thoughtbot.com/blog/a-tmux-crash-course '
    echo ' tutorial II      leanpub                 leanpub.com/the-tao-of-tmux/read '
    echo ' tutorial III     tutorialinux                        youtu.be/BHhA_ZKjyxo '
    echo ' tutorial IV      tutorialinux                        youtu.be/norO25P7xHg '
    echo '                                                                           '
    echo '==========================================================================='
    echo
end
SOURCES
 homepage ...................................................... github.com/tmux/tmux
 documentation ............................................ github.com/tmux/tmux/wiki
 configuration ..................................... github.com/samoshkin/tmux-config
 man-pages ............................................................... $ man tmux
 tutorial I ..... thoughtbot ................ thoughtbot.com/blog/a-tmux-crash-course
 tutorial II .... leanpub .......................... leanpub.com/the-tao-of-tmux/read
 tutorial III ... tutorialinux ................................. youtu.be/BHhA_ZKjyxo
 tutorial IV .... tutorialinux ................................. youtu.be/norO25P7xHg
 picture ....................................... screenshoot by me ~ my gnome-desktop

Leave LINUXOPOLIS # 12-FEBRUARY-2020 ~ TMUX to:

Written by

Linux • Debian • Bash • Java

Read more #linux posts


Best Posts From W. Glenz

We have not curated any of wglenz's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From W. Glenz