<oembed><type>rich</type><version>1.0</version><author_name>资讯同步 (npub195…pwpxu)</author_name><author_url>https://nostr.ae/npub195q4fc2qx05y3dzg49cny2lm7nsy52wrwuqjac844dnqnx6k7xks3pwpxu</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>#V2EX&#xA;### [tmux] 分享 tmux 自用配置&#xA;&#xA;```&#xA;set -g bell-action any&#xA;unbind C-b&#xA;set -g prefix C-x&#xA;&#xA;set -g status-keys vi&#xA;set -gw mode-keys vi&#xA;&#xA;bind-key    -T copy-mode-vi    v                    send-keys -X begin-selection&#xA;bind-key    -T copy-mode-vi    C-Space              send-keys -X begin-selection&#xA;bind-key    -T copy-mode-vi    C-n                  send-keys -X cursor-down&#xA;bind-key    -T copy-mode-vi    C-p                  send-keys -X cursor-up&#xA;bind-key    -T copy-mode-vi    C-b                  send-keys -X cursor-left&#xA;bind-key    -T copy-mode-vi    C-f                  send-keys -X cursor-right&#xA;bind-key    -T copy-mode-vi    C-a                  send-keys -X start-of-line&#xA;bind-key    -T copy-mode-vi    C-e                  send-keys -X end-of-line&#xA;bind-key    -T copy-mode-vi    C-v                  send-keys -X page-down&#xA;bind-key    -T copy-mode-vi    M-v                  send-keys -X page-up&#xA;bind-key    -T copy-mode-vi    M-w                  send-keys -X copy-pipe&#xA;bind-key    -T copy-mode-vi    C-g                  send-keys -X clear-selection&#xA;bind-key    -T copy-mode-vi    C-s                  command-prompt -i -I &#34;#{pane_search_string}&#34; -p &#34;(search down)&#34; &#34;send -X search-forward-incremental \&#34;%%%\&#34;&#34;&#xA;&#xA;bind-key -n C-y paste-buffer&#xA;bind-key C-x send-prefix&#xA;set-option -g history-limit 100000&#xA;bind r source-file ~/.tmux.conf\; display-message &#34;reloading...&#34;&#xA;bind-key -nr C-M-K resize-pane -U 5&#xA;bind-key -nr C-M-J resize-pane -D 5&#xA;bind-key -nr C-M-L resize-pane -R 5&#xA;bind-key -nr C-M-H resize-pane -L 5&#xA;bind-key -n M-k select-pane -U&#xA;bind-key -n M-j select-pane -D&#xA;bind-key -n M-l select-pane -R&#xA;bind-key -n M-h select-pane -L&#xA;bind-key o display-panes&#xA;bind-key -nr M-, previous-window&#xA;bind-key -nr M-. next-window&#xA;bind &#39;&#34;&#39; split-window -c &#34;#{pane_current_path}&#34;&#xA;bind % split-window -h -c &#34;#{pane_current_path}&#34;&#xA;bind c new-window -c &#34;#{pane_current_path}&#34;&#xA;set-option -g base-index 1&#xA;set-window-option -g pane-base-index 1&#xA;set -sg escape-time 0&#xA;&#xA;&#xA;set -g default-terminal screen-256color&#xA;set -g status-fg white&#xA;set -g status-bg colour234&#xA;&#xA;set -g set-titles on&#xA;set -g set-titles-string &#34;[#S] tmux:#I #W&#34;&#xA;set -g status-left-length 32&#xA;set -g status-right-length 256&#xA;set -g window-status-current-format &#34;#[fg=colour234,bg=colour39]#[fg=black,bg=colour39,noreverse,bold] #I: #W #[fg=colour39,bg=colour234,nobold]&#34;&#xA;set -g status-left &#39;#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]&#39;&#xA;set -g status-right &#39;#T&#39;&#xA;set -g mouse off&#xA;```&#xA;https://www.v2ex.com/t/1213641#reply0</html></oembed>