tmux/sync-panes,mouse
This commit is contained in:
parent
3dcf14c3a6
commit
3aab8538a2
1 changed files with 10 additions and 3 deletions
13
sh/tmux.sh
13
sh/tmux.sh
|
@ -350,15 +350,21 @@ bind-key v split-window -c '#{pane_current_path}' -v
|
|||
bind-key k kill-server
|
||||
|
||||
# reload configuration
|
||||
bind-key r source-file ${file} \\; display-message 'source-file ${file}'
|
||||
bind-key r source-file ${file} \
|
||||
\\; display-message 'source-file ${file}'
|
||||
|
||||
# toggle mouse
|
||||
bind-key t set-option -g mouse \\; display-message 'mouse = #{mouse}'
|
||||
bind-key M set-option -g mouse \
|
||||
\\; display-message 'mouse = #{mouse}'
|
||||
|
||||
# swap window
|
||||
bind-key M-Left swap-window -t -1
|
||||
bind-key M-Right swap-window -t +1
|
||||
|
||||
# synchronize panes
|
||||
bind-key S set-window-option synchronize-panes \
|
||||
\\; display-message 'sync = #{synchronize-panes}'
|
||||
|
||||
# ╭─────────────╮
|
||||
# │ default │
|
||||
# ╭───────────┬─────────┼─────┬───────┤
|
||||
|
@ -379,7 +385,7 @@ bind-key M-Right swap-window -t +1
|
|||
# │ select-pane -L │ C-S-Left │ │ │ │
|
||||
# │ select-pane -R │ C-S-Right │ │ │ │
|
||||
# │ select-pane -U │ C-S-Up │ │ │ │
|
||||
# │ set -g mouse │ │ t │ │ │
|
||||
# │ set -g mouse │ │ M │ │ │
|
||||
# │ set -g status off │ C-F6 │ │ │ │
|
||||
# │ set -g status on │ C-F1 │ │ │ │
|
||||
# │ set -g status 2 │ C-F2 │ │ │ │
|
||||
|
@ -393,6 +399,7 @@ bind-key M-Right swap-window -t +1
|
|||
# │ swap-window -t +1 │ │ M-Right │ │ │
|
||||
# │ switch-client -n │ M-Down │ │ │ │
|
||||
# │ switch-client -p │ M-Up │ │ │ │
|
||||
# │ synchronize-panes │ │ S │ │ │
|
||||
# ╰───────────────────┴───────────┴─────────┴─────┴───────╯
|
||||
"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue