Skip to content

Commit

Permalink
Fix tmux copy mode behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rglassett committed Feb 15, 2018
1 parent 96ffe29 commit 83f770e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ set-window-option -g window-status-fg brightblue
set-window-option -g window-status-current-bg brightgreen
set-window-option -g window-status-current-fg white

bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi y send -X copy-selection-and-cancel
bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"

bind-key -T prefix - split-window -v -c '#{pane_current_path}'
bind-key -T prefix \ split-window -h -c '#{pane_current_path}'
Expand Down

0 comments on commit 83f770e

Please sign in to comment.