{"id":305,"date":"2021-12-19T13:55:28","date_gmt":"2021-12-19T05:55:28","guid":{"rendered":"http:\/\/139.9.1.231\/?p=305"},"modified":"2021-12-19T13:55:30","modified_gmt":"2021-12-19T05:55:30","slug":"tmux","status":"publish","type":"post","link":"http:\/\/139.9.1.231\/index.php\/2021\/12\/19\/tmux\/","title":{"rendered":"Tmux\u4f7f\u7528\u6559\u7a0b&#8211;\u4fdd\u6301\u670d\u52a1\u540e\u53f0\u8fd0\u884c"},"content":{"rendered":"\n<p>Tmux \u662f\u4e00\u4e2a\u7ec8\u7aef\u590d\u7528\u5668\uff08terminal multiplexer\uff09\uff0c\u975e\u5e38\u6709\u7528\uff0c\u5c5e\u4e8e\u5e38\u7528\u7684\u5f00\u53d1\u5de5\u5177\u3002<\/p>\n\n\n\n<p>github:  <a href=\"https:\/\/github.com\/tmux\/tmux\">https:\/\/github.com\/tmux\/tmux<\/a><\/p>\n\n\n\n<h1>Tmux \u5feb\u6377\u952e &amp; \u901f\u67e5\u8868 &amp; \u7b80\u660e\u6559\u7a0b<\/h1>\n\n\n\n<p>\u542f\u52a8\u65b0\u4f1a\u8bdd\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tmux &#91;new -s \u4f1a\u8bdd\u540d -n \u7a97\u53e3\u540d]\n<\/code><\/pre>\n\n\n\n<p>\u6062\u590d\u4f1a\u8bdd\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tmux at &#91;-t \u4f1a\u8bdd\u540d]\n<\/code><\/pre>\n\n\n\n<p>\u5217\u51fa\u6240\u6709\u4f1a\u8bdd\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tmux ls\n<\/code><\/pre>\n\n\n\n<p><a><\/a>\u5173\u95ed\u4f1a\u8bdd\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tmux kill-session -t \u4f1a\u8bdd\u540d\n<\/code><\/pre>\n\n\n\n<p><a><\/a>\u5173\u95ed\u6240\u6709\u4f1a\u8bdd\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tmux ls | grep : | cut -d. -f1 | awk '{print substr($1, 0, length($1)-1)}' | xargs kill\n<\/code><\/pre>\n\n\n\n<h1><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E5%9C%A8-tmux-%E4%B8%AD%E6%8C%89%E4%B8%8B-tmux-%E5%89%8D%E7%BC%80-ctrlb%E7%84%B6%E5%90%8E\"><\/a>\u5728 Tmux \u4e2d\uff0c\u6309\u4e0b\u00a0<code>ctrl+b<\/code>\uff0c\u7136\u540e\uff1a<\/h1>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E4%BC%9A%E8%AF%9D\"><\/a>\u4f1a\u8bdd<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>:new&lt;\u56de\u8f66&gt;  \u542f\u52a8\u65b0\u4f1a\u8bdd\ns           \u5217\u51fa\u6240\u6709\u4f1a\u8bdd\n$           \u91cd\u547d\u540d\u5f53\u524d\u4f1a\u8bdd\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E7%AA%97%E5%8F%A3-%E6%A0%87%E7%AD%BE%E9%A1%B5\"><\/a><a><\/a>\u7a97\u53e3 (\u6807\u7b7e\u9875)<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>c  \u521b\u5efa\u65b0\u7a97\u53e3\nw  \u5217\u51fa\u6240\u6709\u7a97\u53e3\nn  \u540e\u4e00\u4e2a\u7a97\u53e3\np  \u524d\u4e00\u4e2a\u7a97\u53e3\nf  \u67e5\u627e\u7a97\u53e3\n,  \u91cd\u547d\u540d\u5f53\u524d\u7a97\u53e3\n&amp;  \u5173\u95ed\u5f53\u524d\u7a97\u53e3\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E8%B0%83%E6%95%B4%E7%AA%97%E5%8F%A3%E6%8E%92%E5%BA%8F\"><\/a>\u8c03\u6574\u7a97\u53e3\u6392\u5e8f<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>swap-window -s 3 -t 1  \u4ea4\u6362 3 \u53f7\u548c 1 \u53f7\u7a97\u53e3\nswap-window -t 1       \u4ea4\u6362\u5f53\u524d\u548c 1 \u53f7\u7a97\u53e3\nmove-window -t 1       \u79fb\u52a8\u5f53\u524d\u7a97\u53e3\u5230 1 \u53f7\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E7%AA%97%E6%A0%BC%E5%88%86%E5%89%B2%E7%AA%97%E5%8F%A3\"><\/a><a><\/a>\u7a97\u683c\uff08\u5206\u5272\u7a97\u53e3\uff09<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>%  \u5782\u76f4\u5206\u5272\n\"  \u6c34\u5e73\u5206\u5272\no  \u4ea4\u6362\u7a97\u683c\nx  \u5173\u95ed\u7a97\u683c\n\u237d  \u5de6\u8fb9\u8fd9\u4e2a\u7b26\u53f7\u4ee3\u8868\u7a7a\u683c\u952e - \u5207\u6362\u5e03\u5c40\nq \u663e\u793a\u6bcf\u4e2a\u7a97\u683c\u662f\u7b2c\u51e0\u4e2a\uff0c\u5f53\u6570\u5b57\u51fa\u73b0\u7684\u65f6\u5019\u6309\u6570\u5b57\u51e0\u5c31\u9009\u4e2d\u7b2c\u51e0\u4e2a\u7a97\u683c\n{ \u4e0e\u4e0a\u4e00\u4e2a\u7a97\u683c\u4ea4\u6362\u4f4d\u7f6e\n} \u4e0e\u4e0b\u4e00\u4e2a\u7a97\u683c\u4ea4\u6362\u4f4d\u7f6e\nz \u5207\u6362\u7a97\u683c\u6700\u5927\u5316\/\u6700\u5c0f\u5316\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E5%90%8C%E6%AD%A5%E7%AA%97%E6%A0%BC\"><\/a><a><\/a>\u540c\u6b65\u7a97\u683c<\/h2>\n\n\n\n<p>\u8fd9\u4e48\u505a\u53ef\u4ee5\u5207\u6362\u5230\u60f3\u8981\u7684\u7a97\u53e3\uff0c\u8f93\u5165 Tmux \u524d\u7f00\u548c\u4e00\u4e2a\u5192\u53f7\u547c\u51fa\u547d\u4ee4\u63d0\u793a\u884c\uff0c\u7136\u540e\u8f93\u5165\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>:setw synchronize-panes\n<\/code><\/pre>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u6307\u5b9a\u5f00\u6216\u5173\uff0c\u5426\u5219\u91cd\u590d\u6267\u884c\u547d\u4ee4\u4f1a\u5728\u4e24\u8005\u95f4\u5207\u6362\u3002 \u8fd9\u4e2a\u9009\u9879\u503c\u9488\u5bf9\u67d0\u4e2a\u7a97\u53e3\u6709\u6548\uff0c\u4e0d\u4f1a\u5f71\u54cd\u522b\u7684\u4f1a\u8bdd\u548c\u7a97\u53e3\u3002 \u5b8c\u4e8b\u513f\u4e4b\u540e\u518d\u6b21\u6267\u884c\u547d\u4ee4\u6765\u5173\u95ed\u3002<a href=\"http:\/\/blog.sanctum.geek.nz\/sync-tmux-panes\/\">\u5e2e\u52a9<\/a><\/p>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E8%B0%83%E6%95%B4%E7%AA%97%E6%A0%BC%E5%B0%BA%E5%AF%B8\"><\/a>\u8c03\u6574\u7a97\u683c\u5c3a\u5bf8<\/h2>\n\n\n\n<p>\u5982\u679c\u4f60\u4e0d\u559c\u6b22\u9ed8\u8ba4\u5e03\u5c40\uff0c\u53ef\u4ee5\u91cd\u8c03\u7a97\u683c\u7684\u5c3a\u5bf8\u3002\u867d\u7136\u8fd9\u5f88\u5bb9\u6613\u5b9e\u73b0\uff0c\u4f46\u4e00\u822c\u4e0d\u9700\u8981\u8fd9\u4e48\u5e72\u3002\u8fd9\u51e0\u4e2a\u547d\u4ee4\u7528\u6765\u8c03\u6574\u7a97\u683c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PREFIX : resize-pane -D          \u5f53\u524d\u7a97\u683c\u5411\u4e0b\u6269\u5927 1 \u683c\nPREFIX : resize-pane -U          \u5f53\u524d\u7a97\u683c\u5411\u4e0a\u6269\u5927 1 \u683c\nPREFIX : resize-pane -L          \u5f53\u524d\u7a97\u683c\u5411\u5de6\u6269\u5927 1 \u683c\nPREFIX : resize-pane -R          \u5f53\u524d\u7a97\u683c\u5411\u53f3\u6269\u5927 1 \u683c\nPREFIX : resize-pane -D 20       \u5f53\u524d\u7a97\u683c\u5411\u4e0b\u6269\u5927 20 \u683c\nPREFIX : resize-pane -t 2 -L 20  \u7f16\u53f7\u4e3a 2 \u7684\u7a97\u683c\u5411\u5de6\u6269\u5927 20 \u683c\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E6%96%87%E6%9C%AC%E5%A4%8D%E5%88%B6%E6%A8%A1%E5%BC%8F\"><\/a>\u6587\u672c\u590d\u5236\u6a21\u5f0f\uff1a<\/h2>\n\n\n\n<p>\u6309\u4e0b&nbsp;<code>PREFIX-[<\/code>&nbsp;\u8fdb\u5165\u6587\u672c\u590d\u5236\u6a21\u5f0f\u3002\u53ef\u4ee5\u4f7f\u7528\u65b9\u5411\u952e\u5728\u5c4f\u5e55\u4e2d\u79fb\u52a8\u5149\u6807\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u65b9\u5411\u952e\u662f\u542f\u7528\u7684\u3002\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u542f\u7528 Vim \u952e\u76d8\u5e03\u5c40\u6765\u5207\u6362\u7a97\u53e3\u3001\u8c03\u6574\u7a97\u683c\u5927\u5c0f\u3002Tmux \u4e5f\u652f\u6301 Vi \u6a21\u5f0f\u3002\u8981\u662f\u60f3\u542f\u7528 Vi \u6a21\u5f0f\uff0c\u53ea\u9700\u8981\u628a\u4e0b\u9762\u8fd9\u4e00\u884c\u6dfb\u52a0\u5230 .tmux.conf \u4e2d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>setw -g mode-keys vi\n<\/code><\/pre>\n\n\n\n<p>\u542f\u7528\u8fd9\u6761\u914d\u7f6e\u540e\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528 h\u3001j\u3001k\u3001l \u6765\u79fb\u52a8\u5149\u6807\u4e86\u3002<\/p>\n\n\n\n<p>\u60f3\u8981\u9000\u51fa\u6587\u672c\u590d\u5236\u6a21\u5f0f\u7684\u8bdd\uff0c\u6309\u4e0b\u56de\u8f66\u952e\u5c31\u53ef\u4ee5\u4e86\u3002\u7136\u540e\u6309\u4e0b&nbsp;<code>PREFIX-]<\/code>&nbsp;\u7c98\u8d34\u521a\u624d\u590d\u5236\u7684\u6587\u672c\u3002<\/p>\n\n\n\n<p>\u4e00\u6b21\u79fb\u52a8\u4e00\u683c\u6548\u7387\u4f4e\u4e0b\uff0c\u5728 Vi \u6a21\u5f0f\u542f\u7528\u7684\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u8f85\u52a9\u4e00\u4e9b\u522b\u7684\u5feb\u6377\u952e\u9ad8\u6548\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p>\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528 w \u952e\u9010\u8bcd\u79fb\u52a8\uff0c\u4f7f\u7528 b \u952e\u9010\u8bcd\u56de\u9000\u3002\u4f7f\u7528 f \u952e\u52a0\u4e0a\u4efb\u610f\u5b57\u7b26\u8df3\u8f6c\u5230\u5f53\u524d\u884c\u7b2c\u4e00\u6b21\u51fa\u73b0\u8be5\u5b57\u7b26\u7684\u4f4d\u7f6e\uff0c\u4f7f\u7528 F \u952e\u8fbe\u5230\u76f8\u53cd\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vi             emacs        \u529f\u80fd\n^              M-m          \u53cd\u7f29\u8fdb\nEscape         C-g          \u6e05\u9664\u9009\u5b9a\u5185\u5bb9\nEnter          M-w          \u590d\u5236\u9009\u5b9a\u5185\u5bb9\nj              Down         \u5149\u6807\u4e0b\u79fb\nh              Left         \u5149\u6807\u5de6\u79fb\nl              Right        \u5149\u6807\u53f3\u79fb\nL                           \u5149\u6807\u79fb\u5230\u5c3e\u884c\nM              M-r          \u5149\u6807\u79fb\u5230\u4e2d\u95f4\u884c\nH              M-R          \u5149\u6807\u79fb\u5230\u9996\u884c\nk              Up           \u5149\u6807\u4e0a\u79fb\nd              C-u          \u5220\u9664\u6574\u884c\nD              C-k          \u5220\u9664\u5230\u884c\u672b\n$              C-e          \u79fb\u5230\u884c\u5c3e\n:              g            \u524d\u5f80\u6307\u5b9a\u884c\nC-d            M-Down       \u5411\u4e0b\u6eda\u52a8\u534a\u5c4f\nC-u            M-Up         \u5411\u4e0a\u6eda\u52a8\u534a\u5c4f\nC-f            Page down    \u4e0b\u4e00\u9875\nw              M-f          \u4e0b\u4e00\u4e2a\u8bcd\np              C-y          \u7c98\u8d34\nC-b            Page up      \u4e0a\u4e00\u9875\nb              M-b          \u4e0a\u4e00\u4e2a\u8bcd\nq              Escape       \u9000\u51fa\nC-Down or J    C-Down       \u5411\u4e0b\u7ffb\nC-Up or K      C-Up         \u5411\u4e0b\u7ffb\nn              n            \u7ee7\u7eed\u641c\u7d22\n?              C-r          \u5411\u524d\u641c\u7d22\n\/              C-s          \u5411\u540e\u641c\u7d22\n0              C-a          \u79fb\u5230\u884c\u9996\nSpace          C-Space      \u5f00\u59cb\u9009\u4e2d\n               C-t          \u5b57\u7b26\u8c03\u5e8f\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E6%9D%82%E9%A1%B9\"><\/a>\u6742\u9879\uff1a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>d  \u9000\u51fa tmux\uff08tmux \u4ecd\u5728\u540e\u53f0\u8fd0\u884c\uff09\nt  \u7a97\u53e3\u4e2d\u592e\u663e\u793a\u4e00\u4e2a\u6570\u5b57\u65f6\u949f\n?  \u5217\u51fa\u6240\u6709\u5feb\u6377\u952e\n:  \u547d\u4ee4\u63d0\u793a\u7b26\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E9%85%8D%E7%BD%AE%E9%80%89%E9%A1%B9\"><\/a>\u914d\u7f6e\u9009\u9879\uff1a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># \u9f20\u6807\u652f\u6301 - \u8bbe\u7f6e\u4e3a on \u6765\u542f\u7528\u9f20\u6807(\u4e0e 2.1 \u4e4b\u524d\u7684\u7248\u672c\u6709\u533a\u522b\uff0c\u8bf7\u81ea\u884c\u67e5\u9605 man page)\n* set -g mouse on\n\n# \u8bbe\u7f6e\u9ed8\u8ba4\u7ec8\u7aef\u6a21\u5f0f\u4e3a 256color\nset -g default-terminal \"screen-256color\"\n\n# \u542f\u7528\u6d3b\u52a8\u8b66\u544a\nsetw -g monitor-activity on\nset -g visual-activity on\n\n# \u5c45\u4e2d\u7a97\u53e3\u5217\u8868\nset -g status-justify centre\n\n# \u6700\u5927\u5316\/\u6062\u590d\u7a97\u683c\nunbind Up bind Up new-window -d -n tmp \\; swap-pane -s tmp.1 \\; select-window -t tmp\nunbind Down\nbind Down last-window \\; swap-pane -s tmp.1 \\; kill-window -t tmp\n<\/code><\/pre>\n\n\n\n<h2><a href=\"https:\/\/gist.github.com\/ryerh\/14b7c24dfd623ef8edc7#%E5%8F%82%E8%80%83%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6tmuxconf\"><\/a>\u53c2\u8003\u914d\u7f6e\u6587\u4ef6\uff08~\/.tmux.conf\uff09\uff1a<\/h2>\n\n\n\n<p>\u4e0b\u9762\u8fd9\u4efd\u914d\u7f6e\u662f\u6211\u4f7f\u7528 Tmux \u51e0\u5e74\u6765\u9010\u6e10\u7cbe\u7b80\u540e\u7684\u914d\u7f6e\uff0c\u8bf7\u81ea\u53d6\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># -----------------------------------------------------------------------------\n# Tmux \u57fa\u672c\u914d\u7f6e - \u8981\u6c42 Tmux &gt;= 2.3\n# \u5982\u679c\u4e0d\u60f3\u4f7f\u7528\u63d2\u4ef6\uff0c\u53ea\u9700\u8981\u5c06\u6b64\u8282\u7684\u5185\u5bb9\u5199\u5165 ~\/.tmux.conf \u5373\u53ef\n# -----------------------------------------------------------------------------\n\n# C-b \u548c VIM \u51b2\u7a81\uff0c\u4fee\u6539 Prefix \u7ec4\u5408\u952e\u4e3a Control-Z\uff0c\u6309\u952e\u8ddd\u79bb\u8fd1\nset -g prefix C-z\n\nset -g base-index         1     # \u7a97\u53e3\u7f16\u53f7\u4ece 1 \u5f00\u59cb\u8ba1\u6570\nset -g display-panes-time 10000 # PREFIX-Q \u663e\u793a\u7f16\u53f7\u7684\u9a7b\u7559\u65f6\u957f\uff0c\u5355\u4f4d ms\nset -g mouse              on    # \u5f00\u542f\u9f20\u6807\nset -g pane-base-index    1     # \u7a97\u683c\u7f16\u53f7\u4ece 1 \u5f00\u59cb\u8ba1\u6570\nset -g renumber-windows   on    # \u5173\u6389\u67d0\u4e2a\u7a97\u53e3\u540e\uff0c\u7f16\u53f7\u91cd\u6392\n\nsetw -g allow-rename      off   # \u7981\u6b62\u6d3b\u52a8\u8fdb\u7a0b\u4fee\u6539\u7a97\u53e3\u540d\nsetw -g automatic-rename  off   # \u7981\u6b62\u81ea\u52a8\u547d\u540d\u65b0\u7a97\u53e3\nsetw -g mode-keys         vi    # \u8fdb\u5165\u590d\u5236\u6a21\u5f0f\u7684\u65f6\u5019\u4f7f\u7528 vi \u952e\u4f4d\uff08\u9ed8\u8ba4\u662f EMACS\uff09\n\n# -----------------------------------------------------------------------------\n# \u4f7f\u7528\u63d2\u4ef6 - via tpm\n#   1. \u6267\u884c git clone https:\/\/github.com\/tmux-plugins\/tpm ~\/.tmux\/plugins\/tpm\n#   2. \u6267\u884c bash ~\/.tmux\/plugins\/tpm\/bin\/install_plugins\n# -----------------------------------------------------------------------------\n\nsetenv -g TMUX_PLUGIN_MANAGER_PATH '~\/.tmux\/plugins'\n\n# \u63a8\u8350\u7684\u63d2\u4ef6\uff08\u8bf7\u53bb\u6bcf\u4e2a\u63d2\u4ef6\u7684\u4ed3\u5e93\u4e0b\u8bfb\u4e00\u8bfb\u4f7f\u7528\u6559\u7a0b\uff09\nset -g @plugin 'seebi\/tmux-colors-solarized'\nset -g @plugin 'tmux-plugins\/tmux-pain-control'\nset -g @plugin 'tmux-plugins\/tmux-prefix-highlight'\nset -g @plugin 'tmux-plugins\/tmux-resurrect'\nset -g @plugin 'tmux-plugins\/tmux-sensible'\nset -g @plugin 'tmux-plugins\/tmux-yank'\nset -g @plugin 'tmux-plugins\/tpm'\n\n# tmux-resurrect\nset -g @resurrect-dir '~\/.tmux\/resurrect'\n\n# tmux-prefix-highlight\nset -g status-right '#{prefix_highlight} #H | %a %Y-%m-%d %H:%M'\nset -g @prefix_highlight_show_copy_mode 'on'\nset -g @prefix_highlight_copy_mode_attr 'fg=white,bg=blue'\n\n# \u521d\u59cb\u5316 TPM \u63d2\u4ef6\u7ba1\u7406\u5668 (\u653e\u5728\u914d\u7f6e\u6587\u4ef6\u7684\u6700\u540e)\nrun '~\/.tmux\/plugins\/tpm\/tpm'\n\n# -----------------------------------------------------------------------------\n# \u7ed3\u675f\n# ---------------<\/pre>\n\n\n\n<h3><strong>tmux\u4e2d\u591a\u7a97\u53e3\u8868\u793a\u65f6\uff0c\u6ca1\u6709\u6eda\u52a8\u6761\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u65b9\u6cd5\u7ffb\u9875\u67e5\u770b\u4fe1\u606f<\/strong><\/h3>\n\n\n\n<ol><li>\u7ed1\u5b9a\u7684\u5feb\u6377\u5f00\u59cb\u952e \u9ed8\u8ba4\u3000ctrl \uff0b\uff42 + [<\/li><li>\u4f7f\u7528 PgUp PgDn \u5b9e\u73b0\u4e0a\u4e0b\u7ffb\u9875<\/li><li>\u952e q \u9000\u51fa<\/li><\/ol>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"aligncenter size-large\"><img src=\"https:\/\/images.pexels.com\/photos\/2347011\/pexels-photo-2347011.jpeg?auto=compress&amp;cs=tinysrgb&amp;dpr=2&amp;h=750&amp;w=1260\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<iframe loading=\"lazy\" frameborder=\"no\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" width=\"330\" height=\"86\" src=\"\/\/music.163.com\/outchain\/player?type=2&amp;id=94689&amp;auto=1&amp;height=66\"><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>Tmux \u662f\u4e00\u4e2a\u7ec8\u7aef\u590d\u7528\u5668\uff08terminal multiplexer\uff09\uff0c\u975e\u5e38\u6709\u7528\uff0c\u5c5e\u4e8e\u5e38\u7528\u7684\u5f00\u53d1\u5de5\u5177\u3002 git &hellip; <a href=\"http:\/\/139.9.1.231\/index.php\/2021\/12\/19\/tmux\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Tmux\u4f7f\u7528\u6559\u7a0b&#8211;\u4fdd\u6301\u670d\u52a1\u540e\u53f0\u8fd0\u884c<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/305"}],"collection":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":9,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"predecessor-version":[{"id":388,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/305\/revisions\/388"}],"wp:attachment":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}