dotfiles/dotfiles/tmux.conf

25 lines
705 B
Plaintext

set-option -g default-command "reattach-to-user-namespace -l zsh"
unbind C-g
set -g prefix C-o
bind-key C-o send-prefix
set-option -g status on
bind-key @ command-prompt -p "create pane from:" "join-pane -s ':%%'"
bind-key ^ command-prompt -p "swap window:,with window:" "swap-window -s %1 -t %2"
set-option -g status-fg colour255
set-option -g status-bg colour235
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-justify "centre"
set-option -g status-left-length 60
set-option -g status-right-length 90
# Set up resize-pane keys
bind-key + resize-pane -D 3
bind-key / resize-pane -L 3
bind-key - resize-pane -U 3
bind-key * resize-pane -R 3
source ~/.tmux.powerline