From 8d7d39aefc6ab34b04a310d257726773740f11d4 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 7 Nov 2014 22:57:19 +0100 Subject: [PATCH] Cleaned tmux --- tmux.conf | 73 ++++++++++++++++++++++++------------------------------- tmux/dev | 7 ------ 2 files changed, 32 insertions(+), 48 deletions(-) delete mode 100644 tmux/dev diff --git a/tmux.conf b/tmux.conf index 3bd4238..8ce9dc2 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,56 +1,47 @@ -#tmux config file -#change statusbar -set -g status-bg colour0 -set -g status-fg white -set-window-option -g window-status-current-bg white -set-window-option -g window-status-current-fg black -set-option -g display-panes-colour black -set-option -g display-panes-active-colour white - -#start powerline -run-shell "powerline-daemon -q" -source-file "$HOME/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf" -send-keys C-c - set -g default-terminal "screen-256color" +set -g set-titles-string '#T' +set-option -g set-titles on +setw -g monitor-activity on +setw -g aggressive-resize on +setw -g automatic-rename on -#use ctrl-a instead of ctrl-b unbind C-b set -g prefix C-a -#alt-arrow for switching panes bind -n M-k run-shell 'tmux-vim-select-pane -U' bind -n M-j run-shell 'tmux-vim-select-pane -D' bind -n M-h run-shell 'tmux-vim-select-pane -L' bind -n M-l run-shell 'tmux-vim-select-pane -R' - -#notify when something happens in another windows -setw -g monitor-activity on -# set -g visual-activity on - -#load tmux setup -bind D source-file ~/.dotfiles/tmux/dev - -#add keybind to kill current tmux window -bind X kill-window - -#setup kill comnmand -# bind k confirm kill-window -# bind K confirm kill-server - -#title stuff -set -g set-titles-string '#T' -set-option -g set-titles on - -#setup tabs controls bind -n C-j new-window bind -n C-h prev bind -n C-l next bind -n C-M-l swap-window -t +1 bind -n C-M-h swap-window -t -1 +bind X kill-window -#enable aggressive-resize -setw -g aggressive-resize on - -#autorename -setw -g automatic-rename on +set -g status-bg "colour0" +set -g message-command-fg "colour0" +set -g status-justify "left" +set -g status-left-length "100" +set -g status "on" +set -g pane-active-border-fg "colour4" +set -g message-bg "colour12" +set -g status-right-length "100" +set -g status-right-attr "none" +set -g message-fg "colour0" +set -g message-command-bg "colour12" +set -g status-attr "none" +set -g status-utf8 "on" +set -g pane-border-fg "colour12" +set -g status-left-attr "none" +setw -g window-status-fg "colour12" +setw -g window-status-attr "none" +setw -g window-status-activity-bg "colour0" +setw -g window-status-activity-attr "none" +setw -g window-status-activity-fg "colour4" +setw -g window-status-separator "" +setw -g window-status-bg "colour0" +set -g status-left "#[fg=colour8,bg=colour4,bold] #S #[fg=colour4,bg=colour0,nobold,nounderscore,noitalics]" +set -g status-right "#[fg=colour12,bg=colour0,nobold,nounderscore,noitalics]#[fg=colour0,bg=colour12] %Y-%m-%d  %H:%M #[fg=colour4,bg=colour12,nobold,nounderscore,noitalics]#[fg=colour8,bg=colour4] #h " +setw -g window-status-format "#[fg=colour12,bg=colour0] #I #[fg=colour12,bg=colour0] #W " +setw -g window-status-current-format "#[fg=colour0,bg=colour12,nobold,nounderscore,noitalics]#[fg=colour0,bg=colour12] #I #[fg=colour0,bg=colour12] #W #[fg=colour12,bg=colour0,nobold,nounderscore,noitalics]" diff --git a/tmux/dev b/tmux/dev deleted file mode 100644 index 7fd58c4..0000000 --- a/tmux/dev +++ /dev/null @@ -1,7 +0,0 @@ -select-pane -t 0 -split-window -h -p 20 -split-window -v -p 30 -c "bin" -select-pane -t 0 - -send-keys -t 0 'vim' C-m -send-keys -t 0 ':NERDTreeToggle' C-m