tmux.conf: Update tmux config
This commit is contained in:
parent
35f86040be
commit
05caf3adf5
1 changed files with 37 additions and 1 deletions
38
tmux.conf
38
tmux.conf
|
@ -20,7 +20,7 @@ unbind %
|
|||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
# reload config file
|
||||
bind r source-file ~/.tmux.conf
|
||||
bind r source-file ~/.tmux.conf \; display "Reloaded tmux.conf!"
|
||||
|
||||
unbind p
|
||||
bind p previous-window
|
||||
|
@ -41,6 +41,42 @@ bind -n M-Right select-pane -R
|
|||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
|
||||
# Pane resizing with HJKL
|
||||
bind H resize-pane -L 10
|
||||
bind J resize-pane -D 10
|
||||
bind K resize-pane -U 10
|
||||
bind L resize-pane -R 10
|
||||
|
||||
# Move windows back/forward
|
||||
bind -n S-left swap-window -t -1
|
||||
bind -n S-right swap-window -t +1
|
||||
bind -n m command-prompt -p "Merge pane to:" "join-pane -t '%%'"
|
||||
bind -n M command-prompt -p "Merge pane from:" "join-pane -s '%%'"
|
||||
|
||||
bind e setw synchronize-panes on \; display "Synchronize panes ON (E: off)"
|
||||
bind E setw synchronize-panes off \; display "Synchronize panes OFF (e: on)"
|
||||
|
||||
bind -n M-1 select-window -t 1
|
||||
bind -n M-2 select-window -t 2
|
||||
bind -n M-3 select-window -t 3
|
||||
bind -n M-4 select-window -t 4
|
||||
bind -n M-5 select-window -t 5
|
||||
bind -n M-6 select-window -t 6
|
||||
bind -n M-7 select-window -t 7
|
||||
bind -n M-8 select-window -t 8
|
||||
bind -n M-9 select-window -t 9
|
||||
|
||||
bind 0 select-pane -t 0
|
||||
bind 1 select-pane -t 1
|
||||
bind 2 select-pane -t 2
|
||||
bind 3 select-pane -t 3
|
||||
bind 4 select-pane -t 4
|
||||
bind 5 select-pane -t 5
|
||||
bind 6 select-pane -t 6
|
||||
bind 7 select-pane -t 7
|
||||
bind 8 select-pane -t 8
|
||||
bind 9 select-pane -t 9
|
||||
|
||||
# set default terminal mode to 256 colors
|
||||
# set -g default-terminal "screen-256color"
|
||||
# set default terminal mode to 256 colors
|
||||
|
|
Loading…
Reference in a new issue