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 Mar 5, 2018
1 parent 271866b commit 97482fc
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 @@ -30,9 +30,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 97482fc

Please sign in to comment.