

Make Windows Clipboard API return plain text as long as Shift key is hold (perhaps, the best option, but I wouldn't keep high hopes 🙂 about this). So it leaves a gap for side effects as well, but it's still a viable option to explore. This is non-deterministic because there's no feedback from the app as to when the text has been pasted. Sanitize the clipboard right upon Ctrl+ Shift+ V, then simulate Ctrl+ V and perhaps restore the clipboard formatting afterwards.

There are rare cases when I need to paste rich formatting, so I disable filtering manually (with a timeout to enable it back automatically). This is what I currently use the most and I find it the best compromise, but it's still not perfect. Sanitize the clipboard by stripping out formatting when new rich text is copied, using something like Clipboard Monitoring API. I think PureText also uses SendInput, and in my experience, it wasn't always reliable, sometimes nothing was getting pasted. I still use this approach for apps like Windows Terminal and VS Code via a custom hotkey ( Win+ Ins). I've tried this approach ( see my comment above) and while it works generally well, simulating typing is an async process by its nature and there may be some side effects. There are a few options but none is perfect, IMO: To make Ctrl-Shift-V a WINDOWS GLOBAL STANDARD for pasting as Plain perhaps, the challenge to make it work for all existing apps is to settle on how to implement it. We should consider that when choosing shortcuts given the relatively few default possibilities.Īs with many of the PT proposals, I definitely recommend looking at existing behaviors, like Ditto and others, and see how they look and feel. I just wanted to add to the discussion pasting with or without formatting and which item you're pasting in a history context matters and these two will inevitably inter-relate. In the PT case, I think the overlapping issue is #671 (though that layout is much too whitespace-y for my taste 😉). If you press Shift+ Enter, it pastes without formatting.

Upon selecting the top item (click or Enter), it's pasted. I personally use Ditto ( link) which does several things on Ctrl+ Shift+ V (by default), mainly showing a paste buffer history, like this (it can do images, note the search down bottom, etc.): If it does have a UI, then this can be quite an expansive feature later. I would look at this feature as one of 2 potential paths: it either has a UI (on keypress), or it doesn't.
