Created
November 28, 2014 14:22
-
-
Save bruno-/2197a0a8e29233174380 to your computer and use it in GitHub Desktop.
basic_tmux_conf.txt
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
# source tmux.conf | |
bind R source-file ~/.tmux.conf | |
# tmux defaults: prefix + arrow | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# tmux defaults: | |
# prefix + % - horizontal split | |
# prefix + " - vertical split | |
# all splits create a terminal in window default dir | |
bind "|" split-window -h -c "#{pane_current_path}" | |
bind "-" split-window -v -c "#{pane_current_path}" | |
bind "c" new-window -c "#{pane_current_path}" | |
# creating a new session | |
bind "C" command-prompt -p "new session:" "new-session -s %%" | |
# Fix bugs | |
#--------- | |
# address vim mode switching delay (http://superuser.com/a/252717/65504) | |
set -s escape-time 0 | |
# fixes pbpaste on OS X | |
set -g default-command "reattach-to-user-namespace -l bash" | |
# Options for modern machines | |
# --------------------------- | |
# utf8 is on | |
set -g utf8 on | |
set -g status-utf8 on | |
# increase scrollback buffer size | |
set -g history-limit 50000 | |
# tmux messages are displayed for 4 seconds | |
set -g display-time 4000 | |
# refresh 'status-left' and 'status-right' more often | |
set -g status-interval 5 | |
# upgrade $TERM | |
set -g default-terminal "screen-256color" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment