Public configs
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.

77 lines
2.0 KiB

# Start windows and panes at 1, not 0
set -g default-terminal screen-256color
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-o 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
#if this does not work, add: -n behind bing
bind-key -n M-h select-pane -L
bind-key -n M-j select-pane -D
bind-key -n M-k select-pane -U
bind-key -n M-l select-pane -R
#resize binds.
bind-key C-S-Up resize-pane -U 15
bind-key C-S-Down resize-pane -D 15
bind-key C-S-Left resize-pane -L 25
bind-key C-S-Right resize-pane -R 25
#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
#------------
#---binds---
#C-a { move the current pane to the previous position
#C-a } move the current pane to the next position
#C-a C-o rotate window ‘up’ (i.e. move all panes)
#C-a M-o rotate window ‘down’
#C-a ! move the current pane into a new separate
# window (‘break pane’)
# C-a :move-pane -t :3.2
# split window 3's pane 2 and move the current pane there
#
#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'