From 4b6766a2157095a1efe3683f3515615c5cbca009 Mon Sep 17 00:00:00 2001 From: jond Date: Thu, 2 Nov 2017 19:02:21 -0500 Subject: [PATCH] Added nested tmux config --- tmux/.tmux.conf | 31 +++++++++++++++++++++++++++++++ x/.Xresources | 4 +++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 55f475b..c85c4d2 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -34,3 +34,34 @@ if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \ bind-key Tab last-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 diff --git a/x/.Xresources b/x/.Xresources index e9777e0..7b1bf93 100644 --- a/x/.Xresources +++ b/x/.Xresources @@ -27,4 +27,6 @@ URxvt*shading: 10 URxvt*perl-ext-common: default,matcher 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 +