34 lines
615 B
Plaintext
34 lines
615 B
Plaintext
# screen behaviour
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
unbind C-a
|
|
bind C-a send-prefix
|
|
|
|
# config reload
|
|
unbind r
|
|
bind r source-file ~/.tmux.conf
|
|
|
|
# more ergonomic splitting
|
|
unbind |
|
|
bind | split-window -h
|
|
|
|
unbind -
|
|
bind - split-window -v
|
|
|
|
# vim bindings in copy mode
|
|
bind-key -T copy-mode-vi v send -X begin-selection
|
|
bind-key -T copy-mode-vi y send -X copy-selection
|
|
bind-key -T copy-mode-vi p send -X paste-buffer
|
|
|
|
# enable mouse
|
|
set -g mouse on
|
|
|
|
# plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
## solarized colors
|
|
set -g @plugin 'seebi/tmux-colors-solarized'
|
|
set -g @colors-solarized 'dark'
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|