Initial commit, fairly simple tmux.conf living in a good (XDG) location

This commit is contained in:
Danielle McLean 2017-02-13 12:55:59 +11:00
commit deb2a2a172
No known key found for this signature in database
GPG key ID: CC91589719027E94
3 changed files with 43 additions and 0 deletions

1
.stow-rename Normal file
View file

@ -0,0 +1 @@
config => .config

39
config/tmux/tmux.conf Normal file
View file

@ -0,0 +1,39 @@
set -s escape-time 0
set -g focus-events on
set -g set-titles on
setw -g aggressive-resize on
setw -g automatic-rename on
set -g default-command "$SHELL"
set -g default-terminal "screen-256color"
set -g mouse on
setw -g mode-keys vi
set -g status-keys vi
unbind C-b
set -g prefix C-a
bind R source-file $XDG_CONFIG_HOME/tmux/tmux.conf
bind C-a last-window
bind a send-prefix
# This stuff was yanked from http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/#changing-the-look-of-tmux
set -g status-interval 2
set -g status-left ''
set -g status-left-length 20
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-justify left
set -g status-bg default
set -g status-fg colour12
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bg default
setw -g window-status-fg colour138
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
setw -g window-status-current-attr bold
setw -g window-status-current-bg colour238
setw -g window-status-current-fg colour81

3
config/zsh/login/tmux Normal file
View file

@ -0,0 +1,3 @@
#! zsh
alias tmux='tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'
export TMUX_TMPDIR=$XDG_RUNTIME_DIR