Skip to content

Commit

Permalink
Optimize tmux copy mode style
Browse files Browse the repository at this point in the history
  • Loading branch information
graycarl committed Jun 1, 2020
1 parent b94da17 commit 53b0c17
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/tmux/tmux.conf
Expand Up @@ -31,10 +31,15 @@ setw -g window-status-style fg=colour250
setw -g window-status-format ' #I:#W '
setw -g window-status-bell-style fg=colour1

# Copy mode highlight
set -g mode-style fg=colour7,bg=colour39

# macOS system clipboard
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi y send-keys -X copy-pipe "pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "pbcopy"
# bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "pbcopy"
unbind-key -T copy-mode-vi MouseDragEnd1Pane


# Bindings
# Use C-b C-b to switch between panes
Expand Down

0 comments on commit 53b0c17

Please sign in to comment.