You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.3 KiB
59 lines
1.3 KiB
9 years ago
|
# Start windows and panes at 1, not 0
|
||
|
set -g base-index 1
|
||
|
set -g pane-base-index 1
|
||
|
|
||
|
#vim is the best.
|
||
|
bind h select-pane -L
|
||
|
bind j select-pane -D
|
||
|
bind k select-pane -U
|
||
|
bind l select-pane -R
|
||
|
|
||
|
#sets prefix to Ctrl-a instead of Ctrl-b
|
||
|
unbind C-b
|
||
|
set -g prefix C-a
|
||
|
bind C-a send-prefix
|
||
|
|
||
|
#bind Escape send-keys ^[
|
||
|
|
||
|
#unbind C-b
|
||
|
#set -g prefix Escape -f
|
||
|
#bind Escape -f send-prefix
|
||
|
|
||
|
#use Alt-vim keys to switch panes w/o prefix
|
||
|
bind -n M-h select-pane -L
|
||
|
bind -n M-j select-pane -D
|
||
|
bind -n M-k select-pane -U
|
||
|
bind -n M-l select-pane -R
|
||
|
|
||
|
#404 that damn lag when using Vim
|
||
|
set -sg escape-time 0
|
||
|
|
||
|
#use something other than wonky " and % to split planes.
|
||
|
bind-key u split-window -h
|
||
|
bind-key i split-window -v
|
||
|
|
||
|
#------------
|
||
|
# pane
|
||
|
#------------
|
||
|
#set -g mouse-select-pane on
|
||
|
#set -g pane-border-fg black
|
||
|
set -g pane-active-border-fg blue
|
||
|
|
||
|
#------------
|
||
|
# tabs
|
||
|
#------------
|
||
|
setw -g window-status-format "#[fg=white]#[bg=blue]#I#[bg=blue]#[fg=white]"
|
||
|
setw -g window-status-current-format "#[bg=blue]#[fg=white]>>#I#[fg=white,bold]#[bg=blue]"
|
||
|
setw -g window-status-content-attr bold,blink,reverse
|
||
|
|
||
|
#------------
|
||
|
# status bar
|
||
|
#------------
|
||
|
set-option -g status-position bottom
|
||
|
set -g status-fg white
|
||
|
set -g status-bg blue
|
||
|
set -g status-left ''
|
||
|
set -g status-right-length 60
|
||
|
#set -g status-right "#h:[#S]"
|
||
|
set -g status-right '#h >> %H:%M'
|