Tmux Cheat Sheet by Gamejia90

Tmux Cheat Sheet by Gamejia90

tmux Cheat Sheet by im_Tavo (gamejia90) via cheatography.com/39342/cs/22415/ Outside Sessions .tmux.conf (cont) Shortcuts tmux (cont) tmux tmux: start bind k select-​ pane -U # <pre​ fi‐​ C-a + [m] Toggle mouse a new x>k select up-pane mode termux bind l select-​ pane -R # <pre​ fi‐​ C-a + e Open ~/.tm‐​ session x>l select right-pane ux.co​ nf​ .lo​ cal tmux ls list-​ se‐​ bind C-h previou​ s-w​ indow # M-h C-a + r reload ssions: ​ ​ select previous-window .tmux.conf show bind C-l next-wi​ ndow # M-l C-a + [Enter] Enter into copy- listed select next-wi​ ndow mode session bind r source-​ file $TMUX_CONF C-a + : go to tmux tmux attach [-t foo] attac​ h-‐​ \; display "$​ TMU​ X_CONF reload‐​ command​ -line tmux a [-t foo] sess​ ion: ed" # <pre​ fix​ >r as reload attach to config_​ file C-a is the prefix, the default prefix is target bind e new-window -n "$​ TMU​ X_‐​ C-b session CONF​ " "$​ TMU​ X_E​ DITOR $TMUX_CONF full command list foo ​ ​ ​ ​ ​ ​ ​ && tmux source $TMUX_C​ ONF​ " # https://github.com/gpakosz/.tmux tmux kill-server kill-​ se‐​ <pre​ fix​ >e open config_​ file list of commands in commad-​ line rver: tmux bind '%' split-w​ indow -h -c "#​ kill all {pa​ ne_​ cur​ ren​ t_p​ ath​ }" kill-server Kill all instances of sessions bind '"' split-w​ indow -v -c "#​ tmux tmux kill-session [-t target] kill-​ se‐​ {pa​ ne_​ cur​ ren​ t_p​ ath​ }" kill-window Close window C-a ssion: # =======​ TES​ TIN​ G==​ ===== + & destroy the .tmux​ .co​ nf is the configu​ ration file and you kill-panel Close panel C-a + target can create it in the $HOME directory x session ~/.tmu​ x.co​ nf tmux new [-s foo] new-se‐​ download last version link More Info ssion: https:/​ /tm​ uxc​ hea​ tsh​ eet​ .com/ start Shortcuts tmux https:/​ /g​ i​ t​ hu​ b.co​ m​ /​ g​ pa​ kos​ z/​ .tmux session named as foo tmux rename [-t foo] bar renam​ e-‐​ sess​ ion: rename the target session as bar. tmux lscm list-​ co‐​ mmands: list all commands supported to more cmds about session check the Official Manual [link] .tmux.conf #setting prompt color C-a + % ◫ Split set -g default​ -te​ rminal "x​ ter​ m-2​ 56c​ ol‐​ terminal or" Vertically TMUX_CO​ NF=​ "~/.tmu​ x.co​ nf​ " C-a + " ⊟ Split TMUX_ED​ ITO​ R="​ v​ im"​ terminal unbind C-b # disable default <pre​ fix​ > Horizo‐​ set -g prefix C-a # <pre​ fix​ > as C-a ntally bind a send-pr​ efix # <pre​ fix​ >a as C-a + [h j k l ] ◨ Move normal C-a between bind C-a send-pr​ efix # <pre​ fix​ >C-a as panels normal C-a C-a + q + [number] show/s‐​ set -g base-index 1 # start at 1 elect panel setw -g pane-ba​ se-​ index 1 [number] set -g mouse 1 C-a + [space] Reorder # =======​ ==V​ IM=​ ===​ ===== panels #Move to the panel as VIM -> <pre​ fi‐​ C-a + [< > ] Swap x>hjkl Panel bind h select-​ pane -L # <pre​ fix​ >h C-a + x Close select left-pane panel C-a bind j select-​ pane -D # <pre​ fix​ >j + :kill-​ select down-pane panel C-a + z Toogle Maximaize Panel C-a + c Create new window C-a + [C-h C-l ] move between windows C-a + [number] Select window [number] C-a + [tab] Previous window C-a + & Close window C- a + :kill-​ win​ dow By im_Tavo (gamejia90) Not published yet. Sponsored by CrosswordCheats.com cheatography.com/gamejia90/ Last updated 25th November, 2020. Learn to solve cryptic crosswords! www.github.com/Athesto Page 1 of 2. http://crosswordcheats.com.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us