commit ebb90b1411d8df72006b6bb21f9a72be19f3e535
parent b679f5e9a90260474577a35d46894edf9ff39f31
Author: edvb54 <edvb54@gmail.com>
Date: Tue, 3 Jun 2014 17:29:28 -0700
Change TMUX colors, splitting, and add last window mapping
Diffstat:
tmux.conf | | | 31 | +++++++++++++++---------------- |
1 file changed, 15 insertions(+), 16 deletions(-)
diff --git a/tmux.conf b/tmux.conf
@@ -1,8 +1,11 @@
# colors{{{
set -g default-terminal "xterm-256color"
-set-option -g pane-border-fg colour235 #base02
-set-option -g pane-active-border-fg colour240 #base01
+# change pane border
+set -g pane-border-fg blue
+set -g pane-border-bg default
+set -g pane-active-border-fg blue
+set -g pane-active-border-bg default
#}}}
# mappings{{{1
@@ -19,9 +22,14 @@ bind-key -r K resize-pane -U "5"
bind-key -r L resize-pane -R "5"
# better split window keys
-bind-key "|" split-window -h
-bind-key "\\" split-window -h
-bind-key "-" split-window -v
+bind-key "s" split-window -h
+bind-key "v" split-window -v
+
+# use double ctrl+space to switch to last window
+bind-key C-Space last-window
+
+# set vi mode keys
+setw -g mode-keys vi
# better vi like copy/pasting
unbind [
@@ -65,23 +73,14 @@ set -g status-right-length 140
set -g status-left '\
#[fg=white][#[fg=blue]#S#[fg=white]]\
-#[fg=white][#[fg=blue]#{pane_current_path}#[fg=white]]\
+#[fg=white][#[fg=cyan]#{pane_current_path}#[fg=white]]\
'
set -g status-right '\
-#[fg=white][#[fg=blue]#H#[fg=white]]\
+#[fg=white][#[fg=cyan]#H#[fg=white]]\
#[fg=white][#[fg=blue]%a%l:%M#[fg=white]]\
'
#}}}
-# set vi mode keys
-setw -g mode-keys vi
-
# start window numbering at 1, not 0
set -g base-index 1
-# change pane border
-set -g pane-border-fg blue
-set -g pane-border-bg default
-set -g pane-active-border-fg blue
-set -g pane-active-border-bg default
-