diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index c6fa126..9f3f965 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -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