set -g default-terminal screen-256color set -g base-index 1 set -g pane-base-index 1 #vim is the best. bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R #sets prefix to Ctrl-o instead of Ctrl-b unbind C-b set -g prefix C-a bind C-a send-prefix #bind Escape send-keys ^[ #unbind C-b #set -g prefix Escape -f #bind Escape -f send-prefix #use Alt-vim keys to switch panes w/o prefix bind -n M-h select-pane -L bind -n M-j select-pane -D bind -n M-k select-pane -U bind -n M-l select-pane -R #404 that damn lag when using Vim set -sg escape-time 0 #use something other than wonky " and % to split planes. bind-key u split-window -h bind-key i split-window -v #------------ # pane #------------ # #C-a { move the current pane to the previous position #C-a } move the current pane to the next position #C-a C-o rotate window ‘up’ (i.e. move all panes) #C-a M-o rotate window ‘down’ #C-a ! move the current pane into a new separate # window (‘break pane’) # C-a :move-pane -t :3.2 # split window 3's pane 2 and move the current pane there # # # #set -g mouse-select-pane on #set -g pane-border-fg black set -g pane-active-border-fg cyan #------------ # tabs #------------ setw -g window-status-format "#[fg=cyan]#[bg=black] #I #[bg=cyan]#[fg=black] #W " setw -g window-status-current-format "#[bg=black]#[fg=cyan] • #[fg=black]#[bg=cyan] #W " #setw -g window-status-current-format "#[bg=black]#[fg=cyan] • #[fg=black]#[bg=colour121] #W " #setw -g window-status-current-format "#[bg=black]#[fg=cyan] #I #[fg=black]#[bg=cyan] #W " #set -g status-justify left #setw -g window-status-content-attr bold,blink,reverse #------------ # status bar #------------ set-option -g status-position bottom set -g status-fg white #makes it inviso set -g status-bg default set -g status-left '' set -g status-right-length 60 #set -g status-right "#h:[#S]" #depends acpi #set -g status-right '#(acpi -b | cut -d" " -f4 | cut -d"%" -f1)% • #h • %H:%M' ###defaults #[bg=default]#[fg=default] set -g status-right '#[bg=black]#[fg=cyan] • #[bg=cyan]#[fg=black] #h #[bg=default]#[fg=default] #[bg=black]#[fg=cyan] • #[bg=cyan]#[fg=black] %H:%M '