Browse Source

tmux: add configuration from http://stahlke.org/dan/tmux-nested/

Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
master
Alejandro Mery 7 years ago
committed by Alejandro Mery
parent
commit
cb4b3c1c16
1 changed files with 32 additions and 0 deletions
  1. +32
    -0
      files/.tmux.conf

+ 32
- 0
files/.tmux.conf

@ -72,3 +72,35 @@ bind -t vi-copy 'y' copy-selection
# clear scroll
#
bind k send-keys -R \; clear-history
# http://stahlke.org/dan/tmux-nested/
set -g status-bg colour40
setw -g window-status-current-bg colour40
bind -n C-t new-window -a
bind -n S-left prev
bind -n S-right next
bind -n S-C-left swap-window -t -1
bind -n S-C-right swap-window -t +1
bind -n M-F11 set -qg status-bg colour25
bind -n M-F12 set -qg status-bg colour40
bind -n S-up \
send-keys M-F12 \; \
set -qg status-bg colour25 \; \
unbind -n S-left \; \
unbind -n S-right \; \
unbind -n S-C-left \; \
unbind -n S-C-right \; \
unbind -n C-t \; \
set -qg prefix C-b
bind -n S-down \
send-keys M-F11 \; \
set -qg status-bg colour40 \; \
bind -n S-left prev \; \
bind -n S-right next \; \
bind -n S-C-left swap-window -t -1 \; \
bind -n S-C-right swap-window -t +1 \; \
bind -n C-t new-window -a -c "#{pane_current_path}" \; \
set -qg prefix C-a

Loading…
Cancel
Save