Created
March 8, 2015 10:01
-
-
Save XueshiQiao/b2708d068af55c238076 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
# remap prefix to Control + a | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
#manmally reload config file: | |
#tmux source-file ~/.tmux.conf | |
# quick pane cycling | |
unbind ^A | |
bind ^A select-pane -t :.+ | |
set -g base-index 1 | |
# Scroll history | |
set -g history-limit 30000 | |
# set status bar | |
set -g status-justify left | |
set -g status-left "" | |
set -g status-right "#[fg=green] %m-%d-%Y %H:%M #(whoami) " | |
# highlight current windows in status bar | |
set-window-option -g window-status-current-bg blue | |
# Move around panes in vim style | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment