Created
January 31, 2012 23:47
-
-
Save pickerweng/1713936 to your computer and use it in GitHub Desktop.
tmux ocnfiguration
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
# Author: Picker | |
# Date: 2012/02/01 | |
# General Setting | |
set-option -g prefix C-a | |
set-window-option -g automatic-rename off | |
set -g history-limit 5000 | |
# Highlight active window | |
set-window-option -g window-status-current-bg red | |
# Set status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left "" | |
set -g status-right "#(uptime|awk '{print $11}') #(date)" | |
# Fix putty/pietty function key problem | |
set -g terminal-overrides "xterm*:kf1=\e[11~:kf2=\e[12~:kf3=\e[13~:kf4=\e[14~:kf5=\e[15~:kf6=\e[17~:kf7=\e[18~:kf8=\e[19~" | |
# Binding key | |
bind C-a send-prefix | |
bind s split-window | |
# Binding: Select a panel | |
bind -n F2 select-pane -U | |
bind -n F3 select-pane -D | |
# Binding: Split the window | |
bind -n F5 splitw\; selectl main-vertical | |
# Binding: Create the new window | |
bind -n F12 new-window | |
# Binding: Resize panels | |
bind -n F6 resizep -U 1 | |
bind -n F7 resizep -D 1 | |
bind -n F8 resizep -L 1 | |
bind -n F9 resizep -R 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment