Skip to content

Instantly share code, notes, and snippets.

@remear
Created October 13, 2011 01:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save remear/1283121 to your computer and use it in GitHub Desktop.
Save remear/1283121 to your computer and use it in GitHub Desktop.
defaults write .GlobalPreferences NSUserKeyEquivalents -dict-add "Paste and Match Style" -string "@v"
@artelse
Copy link

artelse commented Mar 11, 2012

I tried this and it broke my normal paste. What is the best way to reverse it? Thanks.

@remear
Copy link
Author

remear commented Mar 12, 2012

You can probably find and remove the entry from ~/Library/Preferences/.GlobalPreferences.plist

I've since found setting per-applicaiton keyboard shortcuts to be a better way to handle this. They can be set from System Preferences -> Keyboard -> Keyboard Shortcuts -> Application Shortcuts. When you create an application shortcut, remember to set the Menu Title to the text exactly the way it appears in the menu item.

@artelse
Copy link

artelse commented Mar 13, 2012

Ok, that worked and thanks for the tip!

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