24 lines
503 B
Plaintext
24 lines
503 B
Plaintext
|
|
## Load specific colors
|
|
source-file $HOME/.tmux/themes/local.tmux
|
|
|
|
### keybindings {{{
|
|
|
|
## Prefix key (default: C-b)
|
|
# Use C-a as a prefix-key only on local session
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
bind a send-prefix
|
|
|
|
# Copy-mode
|
|
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
|
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
|
|
|
|
# Switch between sessions
|
|
bind C-b switch-client -n
|
|
|
|
# Initialize sessions
|
|
bind I source-file ~/.tmux/splitWORK
|
|
bind H source-file ~/.tmux/splitLAPTOP
|
|
### }}}
|