Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Make 'paste and match style' the default behavior System
If you copy information from styled pages -- web sites, documents, etc. -- you're aware that if you then paste that information (Command-V) in a style-aware application, the style gets pasted, too. Most of the time this is just annoying. The workaround is to use Paste and Match Style (Shift-Command-Option-V) instead. However, it's a pain to do this every time.

Yesterday on Twitter, a solution made the rounds: just use the Keyboard Shortcuts tab of the System Preferences panel to set Paste and Match Style to Command-V. Open that panel, click the plus sign, leave the first pop-up set to All Applications, enter Paste and Match Style in the Menu Title box, type Command-V in the Keyboard Shortcut box, then click Add.

An anonymous tipster submitted a command-line version of this modification, in case you want/need to run it remotely or push it out via Apple Remote Desktop:
defaults write .GlobalPreferences -dict-add NSUserKeyEquivalents "Paste and Match Style" -string "@v"
After changing the shortcut via either method, Command-V will do a Paste and Match Style in any application where it's possible; in others (such as Excel), Command-V will still paste as usual. There is, however, a downside.

If you're trying to paste copied images (such as into iChat), Command-V won't work at all. So as cool as this solution is, I don't use it myself, as I do this quite a bit. Instead, I simplified the Paste and Match Style shortcut (in 10.5) to Command-Option-V. This requires much less in the way of finger gymnastics, making it nearly as easy to use as Command-V. As an alternative, you could add a second shortcut for Paste as Command-Option-V (or whatever you like). Then, when you need to paste an image somewhere, use Command-Option-V instead of Command-V.
    •    
  • Currently 3.07 / 5
  You rated: 2 / 5 (15 votes cast)
 
[45,045 views]  

Make 'paste and match style' the default behavior | 21 comments | Create New Account
Click here to return to the 'Make 'paste and match style' the default behavior' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make 'paste and match style' the default behavior
Authored by: mmnw on Jul 08, '09 08:21:12AM

Thank you, thank you, thank you. This is probably the best hint in weeks. The default behaviour is so annoying. I stumbled over this at least once a week, and I always had to look up what the right combination was.
Apple, really, Shift-Command-Option-V??? Who the hell thought of that!.

I'll probably go with Command-Option-V, but I will try Command-V first, since I seldom copy images into Mail, iChat etc ...



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: scottdb on Jul 08, '09 08:22:57AM

Hmmm... Terminal is giving me this error:

Unexpected argument Paste and Match Style; leaving defaults unchanged.

Anybody?



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: scottdb on Jul 08, '09 08:26:22AM

Nevermind.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: vincentvw on Jul 08, '09 08:47:35AM

getting the same error. How do you get around it?



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: leamanc on Jul 08, '09 07:06:50PM

Are you copying and pasting the command as printed here? It should work fine as printed. I assume scottdb had trouble because he was typing it and missed a character or space.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: herojig on Jul 08, '09 07:06:29PM

getting the same error here...too bad , looks like a great tip.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: rhowell on Jul 08, '09 08:30:30AM

Microsoft's implementation in Office is pretty nice for this case - an icon appears near the pasted object sporting a drop-down menu to choose the formatting.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: palahala on Jul 08, '09 09:44:24AM

...and it allows for setting the default paste style as well. But well, this wouldn't be Microsoft Office if it actually took that setting into account. ;-)



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: zpjet on Jul 08, '09 09:24:59AM

i did the same without Terminal, just using Keyboard & Mouse sys prefs.

for All Applications, i added

Paste and Match Style - cmd-v
Paste - alt-shift-cmd-v

works without restart in leopard.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: Neil Anderson on Jul 08, '09 10:06:17AM

Nice. I was just griping about this default behaviour the other day.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: gshurley on Jul 08, '09 11:32:18AM

Best.
Hint.
Ever.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: sojourner on Jul 08, '09 03:59:03PM
I found simplifying the Paste and Match Style shortcut to cmd-opt-v sometimes conflicts with existing keyboard shortcuts for some applications, so instead of changing the Paste and Match Style shortcut for all applications, I just changed it for some of the applications where I use the feature a lot. Of course, this gets to be annoying when I'm using an application where I didn't change the shortcut and have to use cmd-opt-shift-v.

Sometimes I use <a href="http://www.bluem.net/en/mac/plain-clip/">Plain Clip</a>, calling it from Quicksilver. Not quite as graceful as the shortcut, but not bad.

You know, I wonder if I could make a Quicksilver trigger for Plain Clip.

[ Reply to This | # ]
Great hint
Authored by: alec kinnear on Jul 09, '09 05:54:21AM

Great hint. This annoys me all the time. Always having to use BBEdit as an intermediary to clean up the pasteboard or make sure that it's one version back on Butler.

Almost never need rich paste. This is great. And so straightforward.

---
WordPress SEO Secrets - http://foliovision.com/weblog



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: synfinatic on Jul 10, '09 10:58:54AM

There is a side effect with this hint it appears. Normal paste doesn't work anymore. So you can't paste into header fields (like To/Subject lines) anymore- just the body of the email.

You're better off choosing a different key binding then APPLE-V



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: taxi on Jul 17, '09 03:02:22AM

Yep. I turned this off today because of the clash with pasting into some text fields. It is a deal breaker for me.



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: Sesquipedalian on Jul 11, '09 12:55:47PM
  1. Why mess around with the command line for this? The Keyboard system preferences pane does the same job, is nice and easy to use, and carries no risk of typos making messes of anything.

  2. I only ever really get annoyed with the default paste behaviour in iWork apps, where making documents with consistent styles is the point. So instead of customizing the keyboard shortcuts for all applications, I just did it for Pages, Numbers, and Keynote.

    This means also that I don't have to deal with side effects in other applications.

    [ Reply to This | # ]

Make 'paste and match style' the default behavior
Authored by: Sesquipedalian on Jul 11, '09 03:08:15PM

Oh, I missed the bit where the original poster said why one might want to use the command line...



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: Sesquipedalian on Jul 11, '09 03:36:11PM
Also, if you want to use the command line to do this, but only for individual applications, replace .GlobalPreferences in the original hint with com.apple.iWork.Pages, or whatever the preferences .plist is for your application. These are generally stored in ~/Library/Preferences, if you need to find the right plist first.

[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: unajuaner on Aug 26, '09 12:36:01PM

I was getting an error as well and found the command needs to be adjusted:

defaults write .GlobalPreferences NSUserKeyEquivalents -dict-add "Paste and Match Style" -string "@v"



[ Reply to This | # ]
Make 'paste and match style' the default behavior
Authored by: comecicomeca on May 09, '13 02:57:39AM

And how to make 'paste and match style' w/out hyperlink the default behavior?



[ Reply to This | # ]
best hint ever! if it worked..
Authored by: hleif on Aug 13, '13 11:56:05AM

Has anyone yet figured out how to make this hint work on Mountain Lion? This hint would make life with my Mac so much better!

cmd:
defaults write ~/Library/Preferences/.GlobalPreferences -dict-add NSUserKeyEquivalents "Paste and Match Style" -string "@v"

error:
2013-08-13 14:53:01.437 defaults[14811:707] Unexpected argument Paste and Match Style; leaving defaults unchanged.



[ Reply to This | # ]