# vim:ft=sh # XXX: Only for use w/ tmux 1.9+ # On-the-fly resource: # tmux source-file ~/.tmux.conf # # List existing bindings: # tmux list-keys or -? unbind C-b set -g prefix M-j bind M-j send-prefix # make window id's keyboard continous set -g base-index 1 # don't screw with the esc key set -g escape-time 0 # don't spawn a login shell #set -g default-command "bash --rcfile ~/.tmux_bashrc" set -g default-command bash #bind '"' split-window -c '#{pane_current_path}' "bash --rcfile ~/.tmux_bashrc" #bind % split-window -h -c '#{pane_current_path}' "bash --rcfile ~/.tmux_bashrc" bind '"' split-window -c '#{pane_current_path}' bind % split-window -h -c '#{pane_current_path}' bind c new-window bind k select-pane -D bind l select-pane -U bind j select-pane -L bind \; select-pane -R bind Up resize-pane -U 5 \; switch-client -T prefix bind Down resize-pane -D 5 \; switch-client -T prefix bind Left resize-pane -L 5 \; switch-client -T prefix bind Right resize-pane -R 5 \; switch-client -T prefix bind M-Up resize-pane -U 1 \; switch-client -T prefix bind M-Down resize-pane -D 1 \; switch-client -T prefix bind M-Left resize-pane -L 1 \; switch-client -T prefix bind M-Right resize-pane -R 1 \; switch-client -T prefix #set mouse on bind M-l last-window #unbind M-j nop set -g status-style bg=magenta set -g status-justify centre set -g status-left ' ☣#{?client_prefix, #[bg=yellow]#[fg=black]#[bold]█ [P] █, #[fg=black]#[fg=cyan]#S#[fg=black]}#[default]' set -g status-right '#[fg=black] #[fg=cyan]%a %b %d %H:%M %Z#[fg=black] #[default]' set -g window-status-bell-style bg=black,fg=red,noreverse set -g window-status-format '[#I#F|#W]' set -g window-status-current-format '#[fg=yellow][#I.#P#F|#W]' set -g allow-rename off set-option -g pane-border-fg colour240 #base02 set-option -g pane-active-border-fg green #base01 #set -g pane-border-style fg=colour240 #set -g pane-active-border-style fg=green set -g window-style 'fg=colour247,bg=default' set -g window-active-style 'fg=colour250,bg=default' #set -g window-style 'fg=colour247,bg=colour233' #set -g window-active-style 'fg=colour250,bg=black'