# .tmux.conf # 31jan2010 +chris+ # 30mar2016 +chris+ cleanup # general set -g base-index 1 set -g history-limit 5000 # don't spawn login shells set -g default-command "$SHELL" set -g terminal-overrides "rxvt-unicode-256color:sitm@" set -ag update-environment " GNOME_KEYRING_PID GNOME_KEYRING_SOCKET" setw -g aggressive-resize on set -g mouse off # style set -g status-style fg=white,bg=black setw -g window-status-current-style bold set -g message-style fg=white,bg=black,bold set -g pane-active-border-style fg=default,bg=default set -g status-interval 0 set -g status-right "" set -g set-titles on set -g set-titles-string "#H: #W" # screen-like things set -g prefix C-a bind C-a last-window bind a send-prefix bind M-a next-window -a bind c new-window -c ~ bind k confirm-before -p "kill-window #W? (y/n)" kill-window bind K kill-window bind S split-window # custom bindings bind 0 select-window -T -t ':$' bind C move-window -r bind R source-file ~/.tmux.conf bind h split-window -h bind v split-window bind . neww -c '#{pane_current_path}' bind C-r neww rc bind C-s if -F '#{pane_input_off}' \ "select-pane -e; select-pane -P bg=default" \ "select-pane -d; select-pane -P bg=colour237" bind -n C-left previous-window bind -n C-right next-window bind -n M-PPage copy-mode -u