mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
more tmux conf
This commit is contained in:
parent
43173a102f
commit
f38757297b
2 changed files with 15 additions and 3 deletions
16
.tmux.conf
16
.tmux.conf
|
|
@ -4,7 +4,7 @@
|
|||
set -g default-terminal 'tmux-256color'
|
||||
set -ga terminal-overrides ',xterm-256color:RGB'
|
||||
setw -g xterm-keys on
|
||||
set -s escape-time 100
|
||||
set -s escape-time 0
|
||||
set -sg repeat-time 300
|
||||
set -s focus-events on
|
||||
set -g mouse on
|
||||
|
|
@ -96,6 +96,17 @@ bind -n M-8 select-window -t 8
|
|||
bind -n M-9 select-window -t 9
|
||||
|
||||
|
||||
bind -n M-! join-pane -t :1
|
||||
bind -n M-@ join-pane -t :2
|
||||
bind -n 'M-#' join-pane -t :3
|
||||
bind -n 'M-$' join-pane -t :4
|
||||
bind -n M-% join-pane -t :5
|
||||
bind -n M-^ join-pane -t :6
|
||||
bind -n M-& join-pane -t :7
|
||||
bind -n M-* join-pane -t :8
|
||||
bind -n M-( join-pane -t :9
|
||||
|
||||
|
||||
# pane navigation
|
||||
bind 1 select-pane -t:.1
|
||||
bind 2 select-pane -t:.2
|
||||
|
|
@ -114,6 +125,7 @@ bind -n M-i select-pane -R
|
|||
bind > swap-pane -D
|
||||
bind < swap-pane -U
|
||||
bind | swap-pane
|
||||
bind -n M-Space next-layout
|
||||
|
||||
bind W choose-tree -Z
|
||||
bind S choose-tree 'move-pane -v -s "%%"'
|
||||
|
|
@ -128,7 +140,7 @@ bind -n M-I resize-pane -R 3
|
|||
set -g status-keys emacs
|
||||
set -g mode-keys vi
|
||||
|
||||
bind Enter copy-mode
|
||||
bind -n M-v copy-mode
|
||||
|
||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ alias gy='git-yolo'
|
|||
alias nb='newsboat -r'
|
||||
alias nt="sh -c 'cd $(pwd); st' > /dev/null 2>&1 &"
|
||||
alias ta='tmux a'
|
||||
alias tm='tmux'
|
||||
alias t='tmux'
|
||||
|
||||
bindkey -v
|
||||
bindkey -M vicmd "k" vi-insert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue