various config options updated; tmux to M-S instead of C-M
This commit is contained in:
@ -28,23 +28,23 @@ set -g status-right "#(cat /sys/class/power_supply/BAT0/capacity)% | #[fg=magnet
|
||||
#####################################################################
|
||||
|
||||
# pane switch with vim-like controls
|
||||
bind -n M-h select-pane -L
|
||||
bind -n C-M-h send-keys C-b Left
|
||||
bind -n M-j select-pane -D
|
||||
bind -n C-M-j send-keys C-b Down
|
||||
bind -n M-k select-pane -U
|
||||
bind -n C-M-k send-keys C-b Up
|
||||
bind -n M-l select-pane -R
|
||||
bind -n C-M-l send-keys C-b Right
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-H send-keys C-b Left
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-J send-keys C-b Down
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-K send-keys C-b Up
|
||||
bind -n M-l select-pane -R
|
||||
bind -n M-L send-keys C-b Right
|
||||
|
||||
bind -n M-H resize-pane -L 2
|
||||
bind -n C-Left send-keys C-b C-Left
|
||||
bind -n M-J resize-pane -D 2
|
||||
bind -n C-Down send-keys C-b C-Down
|
||||
bind -n M-K resize-pane -U 2
|
||||
bind -n C-Up send-keys C-b C-Up
|
||||
bind -n M-L resize-pane -R 2
|
||||
bind -n C-Right send-keys C-b C-Right
|
||||
bind -n M-Left resize-pane -L 2
|
||||
bind -n M-S-Left send-keys C-b C-Left
|
||||
bind -n M-Down resize-pane -D 2
|
||||
bind -n M-S-Down send-keys C-b C-Down
|
||||
bind -n M-Up resize-pane -U 2
|
||||
bind -n M-S-Up send-keys C-b C-Up
|
||||
bind -n M-Right resize-pane -R 2
|
||||
bind -n M-S-Right send-keys C-b C-Right
|
||||
|
||||
# alt tab for window shift
|
||||
bind-key -n M-Tab next-window
|
||||
@ -66,24 +66,25 @@ bind-key -n M-9 select-window -t 8
|
||||
# new window and split pane quickly
|
||||
bind-key -n M-Enter new-window
|
||||
bind-key -n M-c send-keys C-b c
|
||||
bind-key -n M-v split-window -v
|
||||
bind-key -n C-M-v send-keys M-v
|
||||
bind-key -n M-b split-window -h
|
||||
bind-key -n C-M-b send-keys M-b
|
||||
bind-key -n M-q killp
|
||||
bind-key -n C-M-q send-keys M-q
|
||||
bind-key -n M-z resize-pane -Z
|
||||
bind-key -n C-M-z send-keys M-z
|
||||
|
||||
bind-key -n M-v split-window -v
|
||||
bind-key -n M-V send-keys M-v
|
||||
bind-key -n M-b split-window -h
|
||||
bind-key -n M-B send-keys M-b
|
||||
bind-key -n M-q killp
|
||||
bind-key -n M-Q send-keys M-q
|
||||
bind-key -n M-z resize-pane -Z
|
||||
bind-key -n M-Z send-keys M-z
|
||||
|
||||
# nested session with meta-a
|
||||
bind-key -n M-a send-prefix
|
||||
|
||||
# rena[M]e session
|
||||
bind-key -n M-m command-prompt -I "#S" "rename-session '%%'"
|
||||
bind-key -n C-M-m send-keys M-m
|
||||
bind-key -n M-M send-keys M-m
|
||||
|
||||
# rename [w]indow
|
||||
bind-key -n M-w command-prompt -I "#W" "rename-window '%%'"
|
||||
bind-key -n M-w command-prompt -I "#W" "rename-window '%%'"
|
||||
bind-key -n C-M-w send-keys M-w
|
||||
|
||||
# toggle readonly session
|
||||
|
Reference in New Issue
Block a user