git.fiddlerwoaroof.com
.tmux.conf
db17d8bf
 new -s catchnet
3af9a76e
 set -g default-terminal "screen-noit"
db17d8bf
 setw -g mode-keys vi
 
 # smart pane switching with awareness of vim splits
577da723
 bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq -e emacs -e vim && tmux send-keys C-h) || tmux select-pane -L"
55ed3cd8
 bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq -e emacs -e vim && tmux send-keys C-j) || tmux select-pane -D"
 bind j select-pane -D
 bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq -e emacs -e vim && tmux send-keys C-k) || tmux select-pane -U"
 bind j select-pane -U
 bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq -e emacs -e vim && tmux send-keys C-l) || tmux select-pane -R"
 bind -n C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iq -e emacs -e vim && tmux send-keys 'C-\\') || tmux select-pane -l"
db17d8bf
 
70e8006a
 bind m set -g mouse on
 bind m set -g mouse off
 
7304bd7d
 # Open new windows/panes in same directory
 bind '"' split-window -c "#{pane_current_path}"
 bind % split-window -h -c "#{pane_current_path}"
 bind c new-window -c "#{pane_current_path}"
 
 
db17d8bf
 
 set -g status-left-length 52
 set -g status-right-length 451
6728cae8
 set -g status-fg colour234
 set -g status-bg white
db17d8bf
 set -g window-status-activity-attr bold
 set -g pane-border-fg colour245
 set -g pane-active-border-fg colour39
 set -g message-fg colour16
 set -g message-bg colour221
 set -g message-attr bold
 set -g status-left '#[fg=colour235,bg=colour252,bold]  #S #[fg=colour252,bg=colour238,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]'
907e4c93
 set -g window-status-format "#[fg=white,bg=colour234]#I #W"
db17d8bf
 set -g window-status-current-format "#[fg=colour234,bg=colour39] #[fg=colour25,bg=colour39,noreverse,bold] #I  #W #[fg=colour39,bg=colour234,nobold]"
 
7304bd7d
 set -sg escape-time 0