navigation enhancements
This commit is contained in:
parent
951898c80c
commit
ff7a48bdc8
1 changed files with 20 additions and 6 deletions
|
@ -10,7 +10,7 @@ set -g default-terminal "xterm-256color"
|
||||||
|
|
||||||
#Mouse/Scrollback Tweaks
|
#Mouse/Scrollback Tweaks
|
||||||
set -g history-limit 100000
|
set -g history-limit 100000
|
||||||
setw -g mode-keys vi
|
#setw -g mode-keys vi
|
||||||
set-option -g mouse on
|
set-option -g mouse on
|
||||||
set -g xterm-keys on
|
set -g xterm-keys on
|
||||||
set-option -g pane-active-border-fg yellow
|
set-option -g pane-active-border-fg yellow
|
||||||
|
@ -18,6 +18,18 @@ set-option -g pane-active-border-fg yellow
|
||||||
#New Keybindings
|
#New Keybindings
|
||||||
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
|
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
|
||||||
|
|
||||||
|
# split panes using | and -
|
||||||
|
bind | split-window -h
|
||||||
|
bind - split-window -v
|
||||||
|
unbind '"'
|
||||||
|
unbind %
|
||||||
|
|
||||||
|
# switch panes using Alt-arrow without prefix
|
||||||
|
bind -n M-Left select-pane -L
|
||||||
|
bind -n M-Right select-pane -R
|
||||||
|
bind -n M-Up select-pane -U
|
||||||
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
# For nested tmux'es
|
# For nested tmux'es
|
||||||
bind a send-prefix
|
bind a send-prefix
|
||||||
|
|
||||||
|
@ -29,11 +41,13 @@ source "/usr/share/powerline/bindings/tmux/powerline.conf"
|
||||||
set-option -g renumber-windows on
|
set-option -g renumber-windows on
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity on
|
||||||
set -g visual-activity on
|
set -g visual-activity on
|
||||||
#set -g status-justify centre
|
|
||||||
#set -g status-utf8 on
|
|
||||||
|
|
||||||
# start with window 1 (instead of 0)
|
#Windows
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
|
|
||||||
# start with pane 1
|
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
|
setw -g automatic-rename on
|
||||||
|
set -g renumber-windows on
|
||||||
|
set -g set-titles on
|
||||||
|
set -g display-panes-time 800
|
||||||
|
set -g display-time 1000
|
||||||
|
set -g status-interval 10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue