Created
June 11, 2014 19:15
-
-
Save he9qi/89c00c949ec690a679c0 to your computer and use it in GitHub Desktop.
This file contains 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
# After reloading the configuration file, we can send [command] to an application | |
# running within tmux simply by pressing [command] twice. | |
set -g prefix C-j | |
bind C-j send-prefix | |
unbind C-b | |
# Splitting panes | |
bind | split-window -h | |
bind - split-window -v | |
# Reszing panes (-r means repeatable) | |
bind -r H resize-pane -L 5 | |
bind -r J resize-pane -D 5 | |
bind -r K resize-pane -U 5 | |
bind -r L resize-pane -R 5 | |
bind j last-pane | |
# set -g status-justify centre | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Renumber windows automatically | |
set-option -g renumber-windows on | |
# Set the starting window number, was 0 | |
set -g base-index 1 | |
# Disable mouse (because using mouse sucks) | |
setw -g mode-mouse off | |
# Scrolling through output with copy mode | |
setw -g mode-keys vi | |
# Reload the file with Prefix r | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
# Fix color for editor | |
set -g default-terminal "screen-256color" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment