You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
635 B
Plaintext
27 lines
635 B
Plaintext
#Tmux Conf test
|
|
set -g mouse on
|
|
|
|
# remap prefix from 'C-b' to 'C-a'
|
|
# unbind C-b
|
|
# set-option -g prefix C-a
|
|
# bind-key C-a send-prefix
|
|
|
|
# split panes using | and -
|
|
|
|
# Vim for switching window
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
|
|
|
|
#bind C-v run "tmux set-buffer "$(xclip -o -sel clipboard)"; tmux paste-buffer"
|
|
setw -g mode-keys vi
|
|
|
|
|
|
bind P paste-buffer
|
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
|
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
|
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
|