28 lines
590 B
Bash
28 lines
590 B
Bash
# plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
# general options
|
|
set -g default-terminal "xterm-256color"
|
|
set -sg escape-time 0
|
|
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
|
set -g mouse on
|
|
|
|
# statusline
|
|
set -g status-left "[#I] "
|
|
set -g status-right "\"#H\" %H:%M %d-%m-%Y"
|
|
|
|
# bindings
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
# use <C-b>g and <C-b>v to split windows
|
|
unbind %
|
|
unbind '"'
|
|
bind v split-window -h -c "#{pane_current_path}"
|
|
bind g split-window -v -c "#{pane_current_path}"
|
|
|
|
# plugin manager
|
|
run '~/.tmux/plugins/tpm/tpm'
|