tmux
插件,tmux-continuum
plugins
放入~/.tmux文件夹
~/.tmux.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
| set-option -g prefix C-x unbind C-b bind C-x send-prefix
set-option -g mouse on set-window-option -g mode-mouse on setw -g mouse-resize-pane on setw -g mouse-select-pane on setw -g mouse-select-window on setw -g mode-mouse on
set -g history-limit 100000
setw -g mode-keys vi set-window-option -g mode-keys vi
bind r source-file ~/.tmux.conf\; display "Reloaded!"
set-option -g base-index 1 set-window-option -g pane-base-index 1 bind-key k select-pane -U bind-key j select-pane -D bind-key h select-pane -L bind-key l select-pane -R
bind-key -n C-j split-window -h
bind-key -n C-h split-window -v
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux' set -g @dracula-plugins "ssh-session cpu-usage ram-usage time" set -g @dracula-show-flags true set -g @dracula-show-left-icon session set -g @dracula-show-powerline true set -g @dracula-time-format "%F %R"
run '~/.tmux/plugins/tpm/tpm' run-shell ~/.tmux/tmux-continuum/continuum.tmux
|
tmux source-file ~/.tmux.conf