23 lines
587 B
Plaintext
23 lines
587 B
Plaintext
set -g mouse on
|
|
set -g history-limit 10000
|
|
set -g mode-keys vi
|
|
|
|
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy && wl-paste -n | wl-copy -p"
|
|
bind-key p run "wl-paste -n | tmux load-buffer - ; tmux paste-buffer"
|
|
|
|
# easy-to-remember split pane commands
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
unbind '"'
|
|
unbind %
|
|
|
|
# moving between panes with vim movement keys
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
# moving between windows with vim movement keys
|
|
bind -r C-h select-window -t :-
|
|
bind -r C-l select-window -t :+
|