TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Paste without formatting on macOS

213 点作者 elisaado超过 1 年前

47 条评论

crazygringo超过 1 年前
My whole life I&#x27;ve been wishing for something in between.<p>If I&#x27;m transferring between applications, I <i>never</i> want 95% of formatting — I don&#x27;t want font or size or color or line-height or paragraph spacing or whatever.<p>But I <i>do</i> want italics, because that conveys actual meaning around emphasized words and titles. And I <i>do</i> want to preserve subscript&#x2F;superscript in things like CO2 or &quot;squared&quot;, because that&#x27;s similarly meaningful. And I also want to maintain bulleted and numbered lists, which again have meaning. Strikethru as well.<p>So I just really wish that the OS had a toggle switch so that &quot;Paste and Match Style&quot; would still preserve everything &quot;textually meaningful&quot; -- &lt;i&gt;, &lt;sub&gt;, &lt;sup&gt;, &lt;ol&gt;, &lt;ul&gt;, &lt;li&gt;, and &lt;s&gt;.
评论 #38142522 未加载
评论 #38142532 未加载
评论 #38142120 未加载
评论 #38142318 未加载
评论 #38143255 未加载
评论 #38148821 未加载
评论 #38142194 未加载
everdrive超过 1 年前
I&#x27;ve never wanted to maintain formatting while pasting. This is probably one of the most annoying default behaviors I&#x27;ve ever encountered.
评论 #38142182 未加载
评论 #38141941 未加载
ttfkam超过 1 年前
Yes! This should be the default with Cmd-Shift-V being the alternative that preserves style.
评论 #38143931 未加载
Max-q超过 1 年前
Why don&#x27;t you just use the already built-in shortcut shift+opt+cmd+v that paste as plain text?
评论 #38149175 未加载
评论 #38144419 未加载
评论 #38165862 未加载
playingalong超过 1 年前
What I use is paste into my browser&#x27;s URL bar and copy from there.
评论 #38142123 未加载
评论 #38143731 未加载
评论 #38142054 未加载
评论 #38142824 未加载
评论 #38147692 未加载
评论 #38142046 未加载
评论 #38142103 未加载
ajmarsh超过 1 年前
This solution seems to only work in certain places. For example, it&#x27;s not working in MS Word. Also, why is it &quot;shift command V&quot; in some places and &quot;shift option command V&quot; in others?
评论 #38142151 未加载
评论 #38142336 未加载
评论 #38142640 未加载
评论 #38142849 未加载
评论 #38143882 未加载
roamerz超过 1 年前
It’s amazing to me how Apple got this basic setting so wrong. It would be interesting to see the decision process that was used and if it was decided correctly maybe overridden by an individual?
评论 #38142778 未加载
评论 #38142158 未加载
评论 #38142546 未加载
评论 #38142195 未加载
simonCGN超过 1 年前
Option-Shift-Command-V does the same: Paste and Match Style
评论 #38143536 未加载
评论 #38143829 未加载
asylteltine超过 1 年前
Never in the history of copy and paste has someone though man I wish I retained that 78pt blue highlight font when I pasted this line of text into my document
cglong超过 1 年前
I was missing this on Windows, then discovered that similar functionality can be added via PowerToys: <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;powertoys&#x2F;paste-as-plain-text" rel="nofollow noreferrer">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;powertoys&#x2F;paste-as...</a>
评论 #38143645 未加载
评论 #38143750 未加载
kashunstva超过 1 年前
I set up a Keyboard Maestro macro to strip the rich text markup from the clipboard and paste. It&#x27;s built around this one-liner: `pbpaste | textutil -convert txt -stdin -stdout -encoding 4 | pbcopy` which obviates the need to hook into the &quot;Paste and Match Style&quot; menu item which may or may not exist.
shinycode超过 1 年前
I’m using maccy.app on macOS which is awesome and does just that. This should be a default feature of macOS for productivity.
评论 #38144448 未加载
zpeti超过 1 年前
Pasting with formatting is one of the rare UX things that Apple gets so damn wrong.<p>Unbelievable how frustrating it is, almost on par with autocorrect correcting the same word twice after I typed it out twice.<p>I mean for ducks - I mean ducks, no ducks sake…
评论 #38141988 未加载
评论 #38141936 未加载
评论 #38142275 未加载
mrweasel超过 1 年前
Neat, but the whole interface for managing keyboard shortcuts is pretty terrible in macOS. Either they really don&#x27;t want you to mess with it, or it&#x27;s just really hard to design for.
评论 #38142694 未加载
评论 #38142642 未加载
评论 #38148082 未加载
Brajeshwar超过 1 年前
I have a different opinion. I try to be familiar with the Defaults and preferably stay with Native Apps to get things done. Once you are comfortable with the Default, you layer your expertise and experience on top of it.<p>So, when I set up or re-set up the OS and the app, I try to see if I can live with the Defaults as much as possible. However, I spend quality time learning the details, so I’m not just jumping to a different App that does it better.<p>Example. I’ve been using Apple’s Default Mail App and have tried a lot of other Mail clients. Some are awesome; some are fantastic. I learned all the shortcuts and tricks to make it sing to any tune I wanted. My Apple Mail does not have toolbars or anything else except the message list and the message[1]. It’s a similar setup for many other default Apps.<p>I did love Fantastical, SuperHuman, etc. I might even use them, but that would be to separate an entity (say, work) but not for the Default Me. I love the idea of using any computer&#x2F;device&#x2F;system easily instead of one perfectly.<p>So, for the copy-paste without formatting. I suggest letting the Default be. I know the shortcuts sideways, and my muscle memory kicks in to do the correct one. I love Obsidian pasting it as Markdown when I copied HTML, but my fingers do the right job for pasting in the un-styled format in Apple Notes.<p>1. <a href="https:&#x2F;&#x2F;cdn.oinam.com&#x2F;img&#x2F;oinam&#x2F;brajeshwar-apple-macos-mail-2019.png" rel="nofollow noreferrer">https:&#x2F;&#x2F;cdn.oinam.com&#x2F;img&#x2F;oinam&#x2F;brajeshwar-apple-macos-mail-...</a>
ghusto超过 1 年前
I&#x27;ll just leave this here:<p><a href="https:&#x2F;&#x2F;sindresorhus.com&#x2F;pure-paste" rel="nofollow noreferrer">https:&#x2F;&#x2F;sindresorhus.com&#x2F;pure-paste</a>
gnyman超过 1 年前
PSA if you use Alfred (w. Powerpack) you can get a always working version of this, but not bound to Cmd+V. It&#x27;s a bit annoying to set up though<p>&gt; If you go to the Workflows tab, click the [+] in the bottom left, under Templates &gt; Clipboard &gt; you&#x27;ll find a &quot;Paste as plain text from clipboard&quot; workflow. Add your own hotkey, and you&#x27;ll be able to do exactly what you need <a href="https:&#x2F;&#x2F;www.alfredforum.com&#x2F;topic&#x2F;10032-clipboard-hotkey-that-can-paste-plain-text&#x2F;#comment-50358" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.alfredforum.com&#x2F;topic&#x2F;10032-clipboard-hotkey-tha...</a><p>There is a multitude other tools recommended in this thread also. The one thing I would recommend for those who does not have any clipboard tool is don&#x27;t just get something that does plaintext. Get something that does HISTORY and plaintext conversion.<p>Clipboard History&#x2F;Search is among my top 10 productivity enhancements hacks that anyone can do and benefit from, might even be the nr 1.<p>Whoever championed it at Microsoft and managed to get it included by default in Windows 10 (Press Win+V) deserves a medal.
backtoyoujim超过 1 年前
i have always pasted into the url&#x2F;searchbar of firefox and select all and copy out of that for the same effect.
评论 #38142407 未加载
评论 #38142210 未加载
Tagbert超过 1 年前
Both Mac OS and Windows started with a mostly single-app interaction model. Switching between applications was slow and clumsy so it wasn’t something that you did frequently.<p>Within an app, copy and paste with styling makes sense as you are trying to reproduce chunks of text.<p>Easy multi-tasking only came later after default were established.
mkerrigan超过 1 年前
I have been using [Jumpcut](<a href="https:&#x2F;&#x2F;github.com&#x2F;snark&#x2F;jumpcut">https:&#x2F;&#x2F;github.com&#x2F;snark&#x2F;jumpcut</a>) for this purpose. I have it bound to ctrl cmd v, so it doesn&#x27;t conflict with the normal cmd v
xwowsersx超过 1 年前
I believe cmd + shift - v also pastes without formatting and I&#x27;ve always used that. I didn&#x27;t know you could change cmd - v to do that so I will be doing this.
Sloppy超过 1 年前
The consensus seems to be: - Cmd-v should paste to match formatting everywhere. No one wants that formatting or if they do they are in a tiny minority that can be served with some new shortcut. - there are several more or less cheesy ways to fix this in more or less places<p>So Apple, retire it with the silly touch bar, push really hard click, and the lightning connector. Maybe these devs would be happer making touch text editing more than awful.
评论 #38147734 未加载
porridgeraisin超过 1 年前
On linux X11 this is done with &quot;targets&quot;. So essentially your browser, or any app, exposes a few different varieties of the same content e.g text&#x2F;html as well as text&#x2F;plain. If the app you paste into, requests text&#x2F;plain, then you will get it without formatting.<p>In fact even file copying is done this way, it copies the list of filenames as type application&#x2F;file-list or something of the sort.
nusuth31416超过 1 年前
I spend many happy hours copying, changing, and pasting text to Ms Word documents on Windows. Eventually, I am using the middle mouse button to paste without format, and ctrl-v to paste with format. (Using X-mouse button control) Power toys has a setting that says it pastes as text too, but if I ask it to use ctrl-v, it gives me an warning saying that there may be issues if I want to paste a picture.
Timothycquinn超过 1 年前
I don’t recall paste w&#x2F; formatting ever working well. IMHO, the OS’s should allow for some global config for default for Ctrl-v, Ctrl-shift-v.
elashri超过 1 年前
It was a very long time since I trained my mind on automatically pasting what I copy into sublime text and then it from there so that I don&#x27;t get formatting preserved. I do this for anything more than two words&#x2F; not numbers. I don&#x27;t even know which was the offender (windows or mac).
sails超过 1 年前
Not to mention the mess that is pasting between Notion, Slack and Gsuite. Especially between the first two.
habi超过 1 年前
I <i>really</i> like <a href="https:&#x2F;&#x2F;github.com&#x2F;mattDavo&#x2F;Yippy">https:&#x2F;&#x2F;github.com&#x2F;mattDavo&#x2F;Yippy</a> for &#x27;managing&#x27; my copy-pasting. It has an option to <i>not</i> paste as rich text.
smugma超过 1 年前
In iOS I hate that Messages pastes in links from Wikipedia. To get around this, I first paste into an app that doesn’t preserve the links, such as a Web panel or WhatsApp.
girafffe_i超过 1 年前
Doesn&#x27;t cmd + shift + v do this everywhere and across different OS?<p>But while we&#x27;re at, &quot;smart quotes&quot; should be nuked, or at least default to off.
herunan超过 1 年前
Why do this when you can have both options?<p>- Cmd-V: with styling<p>- Cmd-Shift-V: without styling
评论 #38142108 未加载
评论 #38142129 未加载
eviks超过 1 年前
Or you could try Karabiner to paste without formatting with a more convenient double tap<p>Cmd-v paste<p>Cmd-v-v paste no format<p>Maybe some day proper keybinding support will come to the OS default GUIs
marcomourao超过 1 年前
I&#x27;ve been using TextExpander for this behaviour for a long time. I remapped my &quot;§&quot; (ISO-PT keyboard) key to paste as simple text.
davelondon超过 1 年前
This is great! I&#x27;d love the same for iOS.
s09dfhks超过 1 年前
Does anyone have a handy defaults write command to do this from the terminal
评论 #38142424 未加载
thebigspacefuck超过 1 年前
I use shift+command+v, sometimes I want to paste with formatting
AlchemistCamp超过 1 年前
Shift + Option + Command + V is the Mac shortcut for this.
aaron465超过 1 年前
Oh my god yes! Who TF even invented paste with formatting?!
jbverschoor超过 1 年前
Just use cmd-shift-v?
tfang17超过 1 年前
On iMessage, this causes images to be pasted twice
wappieslurkz超过 1 年前
This, and I&#x27;d like links to be preserved.
hanslub42超过 1 年前
On X11:<p><pre><code> xsel -o -b | xsel -i -b</code></pre>
robbywashere_超过 1 年前
The futility of apple features you can&#x27;t control.
truculent超过 1 年前
The only case where this is annoying is in applications like Keynote, where pasting individual elements without style is not what you want. Infuriating stuff either way.
评论 #38142169 未加载
zephrx1111超过 1 年前
How to copy paste image?
kmonsen超过 1 年前
Is this why it’s so annoying to copy and paste in the terminal on Mac?
评论 #38142930 未加载
baggy_trough超过 1 年前
This is the rare case of Microsoft Word behavior leaking into macOS with predictably terrible results.
评论 #38142200 未加载
评论 #38142344 未加载
评论 #38144251 未加载