Posts Tagged ‘bash’

My tmux configuration

No Comments »

Not much to this post, just wanted to add my tmux.conf file so that I can easily access it — mainly in cases where I’ve installed tmux on a new box.

Basically it uses ctrl+a for getting around just as in screen.  It also has huge history buffers, turns mouse mode off, and makes some formatting changes.

unbind C-b
set -g prefix C-a

# Paste buffer stuffs
setw -g mode-mouse off
set -g buffer-limit 100000
set -g history-limit 100000

#status row colors
set -g status-bg black
set -g status-fg green
set-window-option -g window-status-current-bg green
set-window-option -g window-status-current-fg black

#Time in bottom right
set-option -g status-right '#[fg=green]%H:%M %p %A %B %d, %Y'

#move around windows with arrow keys
bind-key -n "C-Left" select-window -t :-
bind-key -n "C-Right" select-window -t :+# Paste buffer stuffs