tmux copy-paste changes
This commit is contained in:
parent
806c8bca09
commit
672e572014
|
@ -44,13 +44,19 @@
|
|||
bind -r J resize-pane -D 5
|
||||
bind -r K resize-pane -U 5
|
||||
bind -r L resize-pane -R 5
|
||||
#sorta-kinda vim keys for copy and paste
|
||||
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 y send-keys -X copy-pipe "xclip -sel clip -i"
|
||||
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
|
||||
|
||||
|
||||
#moving panes between windows.
|
||||
bind-key b command-prompt -p "bring pane from:" "join-pane -s '%%'"
|
||||
bind-key s command-prompt -p "sent pane to:" "join-pane -t '%%'"
|
||||
|
||||
#reload conf with r
|
||||
bind r source-file ~/tmux.conf
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
#fix annoying escape behavior
|
||||
set -sg escape-time 0
|
||||
|
|
Loading…
Reference in a new issue