1 # $Id: .tmux.conf,v 1.2 2016/11/30 14:38:54 fste Exp $
3 # tmux - terminal multiplexer configuration file
11 #set-option -ga terminal-overrides ",xterm-256color:Tc"
14 set-option -g default-command "exec /bin/ksh"
16 # define the default terminal
17 set-option -g default-terminal "screen-256color"
19 # set scrollback history
20 set-option -g history-limit 4096
22 # allow terminal scrolling
23 set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
25 # fix split pane line draw
26 set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@'
28 # reload tmux configuration
29 bind r source-file ~/.tmux.conf \; display "Reloaded!"
31 # vim style copy paste mode
36 bind-key -t vi-copy 'v' begin-selection
37 #bind-key -t vi-copy y copy-pipe 'xclip -in -selection clipboard'
38 bind-key -t vi-copy 'y' copy-selection
42 set-option -g status-keys vi
44 # split windows horizontally
45 bind | split-window -h
47 # split windows vertically
48 bind - split-window -v
50 # pane movement keys like Vi
57 set-option -g pane-border-fg black
58 set-option -g pane-active-border-fg red
61 set-option -g status-justify left
62 set-option -g status-style "bg=#000000,fg=#515f6a"
63 set-option -g status-interval 5
66 set-option -g status-left-length 10
67 set-option -g status-left "[#S]"
69 set -g status-right-length 100
70 set -g status-right "#(tmuxbar.sh)"
73 set-window-option -g window-status-format ' #I:#W#F'
74 set-window-option -g window-status-current-format '[#[fg=#a7a7a7]#I:#W#F#[default]]'