You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
837 B
Plaintext
40 lines
837 B
Plaintext
# Set the prefix to ^A
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
bind a send-prefix
|
|
|
|
# I must be missing something.. why don't these work automatically?
|
|
bind C-n next-window
|
|
bind C-p previous-window
|
|
bind C-c new-window
|
|
bind C-d detach
|
|
|
|
# Mouse!
|
|
set -g mode-mouse on
|
|
set -g mouse-resize-pane on
|
|
set -g mouse-select-pane on
|
|
set -g mouse-select-window on
|
|
|
|
# Rebinding switching panes
|
|
bind-key Up select-pane -U
|
|
bind-key Down select-pane -D
|
|
bind-key Left select-pane -L
|
|
bind-key Right select-pane -R
|
|
|
|
bind C-a last-window
|
|
|
|
# basic settings
|
|
set-window-option -g mode-keys vi # vi key
|
|
set-option -g status-keys vi
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
set -g status on
|
|
set -g status-utf8 on
|
|
|
|
# Powerline
|
|
# Mac
|
|
source '/usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'
|
|
# Linux
|
|
source '/usr/share/tmux/powerline.conf'
|