public
Created

tmux ocnfiguration

  • Download Gist
.tmux.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
# 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.