Skip to content

Instantly share code, notes, and snippets.

@mklepaczewski
Created March 27, 2019 21:14
Show Gist options
  • Save mklepaczewski/ee9c4cd85f678859c90844ef18ac8ceb to your computer and use it in GitHub Desktop.
Save mklepaczewski/ee9c4cd85f678859c90844ef18ac8ceb to your computer and use it in GitHub Desktop.
Tmux copy - navigate with arrows and auto select trimmed line
bind -T copy-mode C-Up send-keys Up \; send -X back-to-indentation \; send -X begin-selection \; send -X end-of-line
bind -T copy-mode C-Down send-keys Down \; send -X back-to-indentation \; send -X begin-selection \; send -X end-of-line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment