mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt tmux.conf
This commit is contained in:
parent
1e6facba5f
commit
d902a70eda
@ -3,6 +3,7 @@ source-file ~/.tmux.common
|
||||
set -g mouse on
|
||||
bind C-s copy-mode -e
|
||||
bind -t vi-copy C-c copy-selection -x
|
||||
bind -t vi-copy MouseDragEnd1Pane copy-selection -x
|
||||
|
||||
bind C-m display-panes "swap-pane -t %%"
|
||||
bind C-u display-panes "move-pane -v -t %%"
|
||||
@ -12,5 +13,3 @@ bind u split-window -c "#{pane_current_path}"
|
||||
bind v split-window -h -c "#{pane_current_path}"
|
||||
bind U split-window -f -c "#{pane_current_path}"
|
||||
bind V split-window -f -h -c "#{pane_current_path}"
|
||||
|
||||
set status-right "#(date) #(hostname)"
|
||||
|
@ -2,15 +2,14 @@
|
||||
set -g prefix C-s
|
||||
|
||||
set -g base-index 1
|
||||
set -g allow-rename off
|
||||
set -g pane-base-index 1
|
||||
set -g renumber-windows on
|
||||
set -g allow-rename off
|
||||
|
||||
set -g display-time 5000
|
||||
set -g display-panes-time 5000
|
||||
|
||||
set -g mode-keys vi
|
||||
set -g history-limit 1000
|
||||
setw -g pane-base-index 1
|
||||
set -g mode-keys vi
|
||||
# }}}
|
||||
# 会话管理{{{
|
||||
bind s choose-tree -u
|
||||
|
Loading…
x
Reference in New Issue
Block a user