summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-04-27 10:29:51 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-04-27 10:29:51 +0100
commit6368ab2e44035924e39c0fbf8509346eedbe19bf (patch)
tree212f7c8aa01814832ab791ad1862ae88f4e1a905
parent831697b05f2ef7fc9f2bdc643308360d53e198ac (diff)
Improved tmux config
-rw-r--r--.tmuxlinerc29
-rw-r--r--tmux.conf3
2 files changed, 3 insertions, 29 deletions
diff --git a/.tmuxlinerc b/.tmuxlinerc
deleted file mode 100644
index 5b7120a..0000000
--- a/.tmuxlinerc
+++ /dev/null
@@ -1,29 +0,0 @@
-# This tmux statusbar config was created by tmuxline.vim
-# on Sat, 25 Apr 2015
-
-set -g status-bg "colour7"
-set -g message-command-fg "colour7"
-set -g status-justify "centre"
-set -g status-left-length "100"
-set -g status "on"
-set -g pane-active-border-fg "colour11"
-set -g message-bg "colour14"
-set -g status-right-length "100"
-set -g status-right-attr "none"
-set -g message-fg "colour7"
-set -g message-command-bg "colour14"
-set -g status-attr "none"
-set -g status-utf8 "on"
-set -g pane-border-fg "colour14"
-set -g status-left-attr "none"
-setw -g window-status-fg "colour14"
-setw -g window-status-attr "none"
-setw -g window-status-activity-bg "colour7"
-setw -g window-status-activity-attr "none"
-setw -g window-status-activity-fg "colour11"
-setw -g window-status-separator ""
-setw -g window-status-bg "colour7"
-set -g status-left "#[fg=colour7,bg=colour11,bold] #H #[fg=colour11,bg=colour14,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour14] #S #[fg=colour14,bg=colour7,nobold,nounderscore,noitalics]"
-set -g status-right "#[fg=colour7,bg=colour7,nobold,nounderscore,noitalics]#[fg=colour14,bg=colour7] %R #[fg=colour14,bg=colour7,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour14] %a #[fg=colour11,bg=colour14,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour11] %Y "
-setw -g window-status-format "#[fg=colour7,bg=colour7,nobold,nounderscore,noitalics]#[default] #W #[fg=colour7,bg=colour7,nobold,nounderscore,noitalics]"
-setw -g window-status-current-format "#[fg=colour7,bg=colour14,nobold,nounderscore,noitalics]#[fg=colour7,bg=colour14] #W #[fg=colour14,bg=colour7,nobold,nounderscore,noitalics]"
diff --git a/tmux.conf b/tmux.conf
index 4d23b17..64a2eb7 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -30,6 +30,9 @@ bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
+bind C-n next-window
+bind C-p previous-window
+
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1