Skip to content

Instantly share code, notes, and snippets.

@vijedi
Created May 18, 2022 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vijedi/89a558b0641803aacee61d81caaf5a59 to your computer and use it in GitHub Desktop.
Save vijedi/89a558b0641803aacee61d81caaf5a59 to your computer and use it in GitHub Desktop.
.tmux.conf
# For tmux > 2.4a
setw -g mode-keys vi
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X being-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send -X copy-selection-and-cancel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment