{"id":1101,"date":"2015-06-15T09:27:47","date_gmt":"2015-06-15T07:27:47","guid":{"rendered":"http:\/\/www.shukko.com\/x3\/?p=1101"},"modified":"2015-06-15T09:27:47","modified_gmt":"2015-06-15T07:27:47","slug":"tmux-quick-cheatsheet","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2015\/06\/15\/tmux-quick-cheatsheet\/","title":{"rendered":"tmux quick cheatsheet"},"content":{"rendered":"<p># session management<br \/>\ntmux list-sessions<br \/>\ntmux new -s session-name<br \/>\nCtrl-b d Detach from session<br \/>\ntmux attach -t [session name]<br \/>\ntmux kill-session -t session-name<\/p>\n<p>Ctrl-b c Create new window<br \/>\nCtrl-b d Detach current client<br \/>\nCtrl-b l Move to previously selected window<br \/>\nCtrl-b n Move to the next window<br \/>\nCtrl-b p Move to the previous window<br \/>\nCtrl-b &#038; Kill the current window<br \/>\nCtrl-b , Rename the current window<br \/>\nCtrl-b q Show pane numbers (used to switch between panes)<br \/>\nCtrl-b o Switch to the next pane<br \/>\nCtrl-b ? List all keybindings<\/p>\n<p># moving between windows<br \/>\nCtrl-b n (Move to the next window)<br \/>\nCtrl-b p (Move to the previous window)<br \/>\nCtrl-b l (Move to the previously selected window)<br \/>\nCtrl-b w (List all windows \/ window numbers)<br \/>\nCtrl-b window number (Move to the specified window number, the<br \/>\ndefault bindings are from 0 &#8212; 9)<\/p>\n<p># Tiling commands<br \/>\nCtrl-b % (Split the window vertically)<br \/>\nCtrl-b : &#8220;split-window&#8221; (Split window horizontally)<br \/>\nCtrl-b o (Goto next pane)<br \/>\nCtrl-b q (Show pane numbers, when the numbers show up type the key<br \/>\nto goto that pane)<br \/>\nCtrl-b { (Move the current pane left)<br \/>\nCtrl-b } (Move the current pane right)<\/p>\n<p># Make a pane its own window<br \/>\nCtrl-b : &#8220;break-pane&#8221;<\/p>\n<p># add to ~\/.tmux.conf<br \/>\nbind | split-window -h<br \/>\nbind &#8211; split-window -v<\/p>\n","protected":false},"excerpt":{"rendered":"<p># session management tmux list-sessions tmux new -s session-name Ctrl-b d Detach from session tmux attach -t [session name] tmux kill-session -t session-name Ctrl-b c Create new window Ctrl-b d Detach current client Ctrl-b l Move to previously selected window Ctrl-b n Move to the next window Ctrl-b p Move to the previous window Ctrl-b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1101","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=1101"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1101\/revisions"}],"predecessor-version":[{"id":1102,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1101\/revisions\/1102"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=1101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=1101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=1101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}