Created
May 22, 2013 07:03
-
-
Save irfn/5625747 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
set-option -g prefix ` | |
# set-option -g prefix C-a | |
unbind-key C-b | |
bind-key C-a last-window | |
bind-key ` last-window | |
bind-key a send-prefix | |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
set -g default-terminal "screen-256color" | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
set-option -g history-limit 10000 | |
bind-key r source-file ~/.tmux.conf | |
bind-key v split-window -h | |
bind-key h split-window | |
set -g base-index 1 | |
set-option -g mouse-select-pane on | |
setw -g mode-mouse on | |
set-option -g status-bg default | |
set-option -g status-fg black | |
set-option -g message-bg yellow | |
set-option -g message-fg black | |
set-option -g history-limit 32768 | |
set-window-option -g utf8 on | |
set-window-option -g window-status-current-bg red | |
set -g status-left '#[fg=green]#H #(rvm tools identifier)' | |
set -g status-right '#[fg=yellow]#(uptime | cut -d " " -f 4-5,7) users' | |
setw -g automatic-rename | |
bind -r C-h resize-pane -L | |
bind -r C-j resize-pane -D | |
bind -r C-k resize-pane -U | |
bind -r C-l resize-pane -R | |
bind C-y run-shell "reattach-to-user-namespace -l zsh -c 'tmux set-buffer \\"$(pbpaste)\\"; tmux paste-buffer'" | |
bind C-w run-shell "reattach-to-user-namespace -l zsh -c 'tmux show-buffer | pbcopy'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment