Skip to content

Instantly share code, notes, and snippets.

@imbradbrown
Created June 2, 2016 14:40
Show Gist options
  • Save imbradbrown/364f5734415765ca3aedce11a1c8cf23 to your computer and use it in GitHub Desktop.
Save imbradbrown/364f5734415765ca3aedce11a1c8cf23 to your computer and use it in GitHub Desktop.
Copy / Paste on Windows in Cygwin with Mac keyboard
#!/bin/bash
echo "stay next ^q stop undef start undef" >> ~/.bashrc
echo '"\C-v": paste-from-clipboard' >> ~/.inputrc
echo '"\C-z": copy-to-clipboard' >> ~/.inputrc
## Restart cygwin
@imbradbrown
Copy link
Author

This will set COPY to CTRL + z and PASTE to CTRL + v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment