Last active
February 17, 2016 18:42
-
-
Save jhonnymoreira/61bd344df7a10e844523 to your computer and use it in GitHub Desktop.
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
# Improve colors | |
set -g default-terminal "screen-256color" | |
set -g status-utf8 on | |
# http://stackoverflow.com/questions/22715071/vim-and-tmux-rendering-error | |
set-window-option -g utf8 on | |
# Scrolling | |
set -g mouse on | |
# Start window numbers at 1 to match keyboard order with tmux window order | |
set -g base-index 1 | |
set-window-option -g pane-base-index 1 | |
# Renumber windows sequentially after closing any of them | |
set -g renumber-windows on | |
# Soften status bar color from harsh green to light gray | |
set -g status-bg '#222222' | |
set -g status-fg '#aaaaaa' | |
# Remove administrative debris (session name, hostname, time) in status bar | |
set -g status-left '' | |
set -g status-right '#{session_name}' | |
# increase scrollback lines | |
set -g history-limit 100000 | |
# switch to last pane | |
bind-key C-e last-pane | |
# Alert when things are done | |
set -g visual-activity on | |
setw -g monitor-activity on | |
# Autorename sanely. | |
setw -g automatic-rename on | |
# Open in current path | |
bind c new-window -c "#{pane_current_path}" | |
bind '%' split-window -h -c '#{pane_current_path}' # Split panes horizontal | |
bind '"' split-window -v -c '#{pane_current_path}' # Split panes vertically | |
# Clear screen | |
bind C-l send-keys 'C-l' | |
# Syncrhonize panes | |
bind-key r setw synchronize-panes | |
# Maximum clipboard buffer | |
set -g buffer-limit 999999 | |
# Set zsh as default shell | |
set-option -g default-shell /bin/zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment