From 1e6d517f7928a54026f5e1ea46c4233d99911735 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 27 Apr 2015 10:37:36 +0100 Subject: improved tmux configuration --- .tmuxlinerc | 29 ----------------------------- tmux.conf | 3 +++ tmuxlinerc | 29 +++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 29 deletions(-) delete mode 100644 .tmuxlinerc create mode 100644 tmuxlinerc 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 diff --git a/tmuxlinerc b/tmuxlinerc new file mode 100644 index 0000000..5b7120a --- /dev/null +++ b/tmuxlinerc @@ -0,0 +1,29 @@ +# 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]" -- cgit v1.2.3