Added nested tmux config

This commit is contained in:
jond
2017-11-02 19:02:21 -05:00
parent 9d59533e47
commit 4b6766a215
2 changed files with 34 additions and 1 deletions

View File

@@ -34,3 +34,34 @@ if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \
bind-key Tab last-window bind-key Tab last-window
bind-key BTab previous-window bind-key BTab previous-window
#nested tmux
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

View File

@@ -27,4 +27,6 @@ URxvt*shading: 10
URxvt*perl-ext-common: default,matcher URxvt*perl-ext-common: default,matcher
URxvt*matcher.button: 1 URxvt*matcher.button: 1
URxvt*url-launcher: /usr/bin/google-chrome ! URxvt*url-launcher: /usr/bin/google-chrome
URxvt*url-launcher: /home/jon/Downloads/firefox/firefox