Last active
September 25, 2015 08:57
-
-
Save marutanm/896088 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
################################################################################ | |
# .tmux.conf | |
################################################################################ | |
# Set the prefix to ^T | |
set-option -g prefix C-t | |
unbind-key C-b | |
bind C-t send-prefix | |
# Option | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
set-window-option -g utf8 on | |
set-option -g base-index 1 | |
set-window-option -g automatic-rename on | |
set -g default-terminal "xterm-256color" | |
# Style | |
set-option -g status-fg black | |
set-option -g status-bg magenta | |
set-window-option -g window-status-current-attr reverse | |
# Clockbind t clock-mode | |
# CopyMode vi | |
set-window-option -g mode-keys vi | |
# Split window | |
bind s split-window -v | |
bind v split-window -h | |
# Select pane | |
bind h select-pane -L | |
bind l select-pane -R | |
bind j select-pane -D | |
bind k select-pane -U | |
bind -r C-h resize-pane -L | |
bind -r C-l resize-pane -R | |
bind -r C-j resize-pane -D | |
bind -r C-k resize-pane -U | |
bind C-n next-window | |
bind C-p previous-window | |
bind C-r source-file ~/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment