Skip to content

Instantly share code, notes, and snippets.

@kparmar1
Created February 3, 2024 18:50
Show Gist options
  • Save kparmar1/0afe752272d9851990386923d9dd73df to your computer and use it in GitHub Desktop.
Save kparmar1/0afe752272d9851990386923d9dd73df to your computer and use it in GitHub Desktop.
Set up TMUX for vi (copy & paste)
setw -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'r' send -X rectangle-toggle
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment