{"id":7,"date":"2016-08-02T01:51:16","date_gmt":"2016-08-02T01:51:16","guid":{"rendered":"http:\/\/10.0.3.2\/wordpress\/?p=7"},"modified":"2018-05-02T06:11:52","modified_gmt":"2018-05-02T06:11:52","slug":"tmux-scrolling-method","status":"publish","type":"post","link":"https:\/\/info.juliusgoh.life\/?p=7","title":{"rendered":"Tmux Short Key"},"content":{"rendered":"<p>Session is a set of windows, plus a notion of which window is current.<\/p>\n<p>Window is a single screen covered with panes. (Once might compare it to a \u2018virtual desktop\u2019 or a \u2018space\u2019.)<\/p>\n<p>Pane is a rectangular part of a window that runs a specific command, e.g. a shell.<\/p>\n<p><strong><b>Resizing<\/b>Pane<\/strong><\/p>\n<pre>\r\n<kbd>Ctrl-b<\/kbd> then <kbd>[<\/kbd> then you can use your normal navigation keys to scroll around (eg. <kbd>Up Arrow<\/kbd> or <kbd>PgDn<\/kbd>). Press <kbd>q<\/kbd> to quit scroll mode.\r\n\r\nOR you can use\r\n\r\nCTRL-b then hold on ALT with the arrow button to resize the pane (Act fast , it has very very small interval only)\r\n<\/pre>\n<p><strong>Create new workplace<\/strong><\/p>\n<pre>\r\n<i>ctrl-b + shift + \"<\/i> - start a new workplace up and down\r\n\r\n<i>ctrl-b + shift + %<\/i> - start a new workplace left and right\r\n\r\n<i>ctrl-b + z<\/i> -maximize your current pane move other to background\r\n<\/pre>\n<p><strong>Rename window &amp; Session<\/strong><\/p>\n<pre>\r\n<i>ctrl-b + $<\/i> - Rename Session\r\n<i>ctrl-b + ,<\/i> - Rename Pane\r\n<\/pre>\n<p><strong>Reorder Pane &amp; window<\/strong><\/p>\n<pre>\r\nReorder pane\r\nStep 1 \uff1actrl-b + :\r\nStep 2 : swap-pane -s [source-pane] -t [destination pane] EX:swap-pane -s 0 -t 1\r\n\r\n\r\nReorder window\r\nStep 1 \uff1actrl-b + :\r\nStep 2 : swap-window -s [source-pane] -t [destination pane] EX:swap-pane -s 0 -t 1\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Session is a set of windows, plus a notion of which window is current. Window is a single screen covered with panes. (Once might compare it to a \u2018virtual desktop\u2019 or a \u2018space\u2019.) Pane is a rectangular part of a window that runs a specific command, e.g. a shell. ResizingPane Ctrl-b then [ then you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":214,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":9,"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":416,"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions\/416"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=\/wp\/v2\/media\/214"}],"wp:attachment":[{"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/info.juliusgoh.life\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}