W. Glenz avatar

LINUXOPOLIS # 2019-12-19 ~ TMUX - CHEAT SHEET

wglenz

Published: 19 Dec 2019 › Updated: 19 Dec 2019LINUXOPOLIS # 2019-12-19 ~ TMUX - CHEAT SHEET

LINUXOPOLIS # 2019-12-19 ~ TMUX - CHEAT SHEET

TMUX

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                                     
    echo '            sources                                                        '
    echo                                     
    echo ' homepage ........................................... github.com/tmux/tmux '
    echo ' documentation ................................. github.com/tmux/tmux/wiki '
    echo ' configuration .......................... github.com/samoshkin/tmux-config '
    echo ' man pages .................................................... $ man 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 '            installation                                                   '
    echo                                     
    echo ' $ apt-cache search tmux screen                                            '
    echo ' $ apt-cache show tmux                                                     '
    echo ' # apt install tmux                                                        '
    echo
    echo '            configuration                                                  '
    echo                                     
    echo ' # remap prefix to                                                 '
    echo ' set -g prefix C-a                                                         '
    echo ' unbind C-b                                                                '
    echo ' bind C-a send-prefix                                                      '
    echo                                     
    echo '==========================================================================='
    echo                                     
    echo '            command line                                                   '
    echo                                     
    echo ' new session .......................................... $ tmux new -s work '
    echo ' commands ..................................... $ tmux list-commands | fzv '
    echo ' keys ............................................. $ tmux list-keys | fzv '
    echo ' list sessions ................................................. $ tmux ls '
    echo ' attach session I ............................................... $ tmux a '
    echo ' attach session II .................... $ tmux attach -t work|monitor|etc| '
    echo ' switch session ............... ....... $ tmux switch -t work|monitor|etc| '
    echo                                     
    echo '            sessions                                                       '
    echo                                     
    echo ' new .............................................. ^b:new -s work|monitor '
    echo ' list & switch ........................................................ ^s '
    echo ' rename .............................................................. ^b$ '
    echo ' detach .............................................................. ^bd '
    echo                                     
    echo '            windows                                                        '
    echo                                     
    echo ' create .............................................................. ^bc '
    echo ' delete .............................................................. ^bd '
    echo ' list ................................................................ ^bw '
    echo ' rename .............................................................. ^b, '
    echo ' switch .................................................... ^bn ^bp ^b0-9 '
    echo ' zoom ................................................................ ^bz '
    echo                                     
    echo '            panes                                                          '
    echo                                     
    echo ' split ........................................................... ^b% ^b" '
    echo ' switch .............................................................. ^bo '
    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 # 2019-12-19 ~ TMUX - CHEAT SHEET 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