Last active
January 11, 2016 23:15
-
-
Save alexshd/bc39c6e4c2969e3286cd to your computer and use it in GitHub Desktop.
Tmux.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: fdm=marker | |
# vim bindings | |
setw -g mode-keys vi | |
set-option -g default-shell /bin/zsh | |
# It causes tmux to resize a window based on the smallest client actually | |
# viewing it, not on the smallest one attached to the entire session. | |
setw -g aggressive-resize on | |
unbind C-a | |
# unbind C-b because of VIM | |
unbind C-b | |
set -g prefix C-a | |
# And I was blaming VIM... F*ck! | |
set-option -sg escape-time 1 | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind-key -r C-h select-window -t :- | |
bind-key -r C-l select-window -t :+ | |
bind | split-window -h | |
bind - split-window -v | |
bind-key a send-prefix | |
bind r source-file ~/.tmux.conf | |
# Get to the last active window | |
bind-key C-a last-window | |
# 256 Colours | |
set -g default-terminal "screen-256color" | |
# _ Handy options {{{ | |
# Start numbering windows at 1 | |
set -g base-index 1 | |
set -g history-limit 10000 | |
# }}} | |
# Mouse scrolling within 'copy-mode' | |
# setw –g mode-mouse on | |
setw -g automatic-rename | |
# Set window notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
set-option -g status-utf8 on | |
set -g status-interval 1 | |
bind C-a send-prefix | |
set -g status-fg black | |
set -g status-bg white | |
setw -g window-status-fg white | |
setw -g window-status-bg blue | |
setw -g window-status-attr bright | |
set -g pane-border-fg green | |
#set -g pane-border-bg black | |
set -g pane-active-border-fg blue | |
#set -g pane-active-border-bg blue | |
set -g status-justify centre | |
setw -g monitor-activity on | |
set -g visual-activity on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment