added tmux
parent
d09c179b72
commit
55a159153a
@ -0,0 +1,26 @@
|
|||||||
|
#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
|
Loading…
Reference in New Issue