-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste as plain text #1684
Comments
this is a great idea. |
I love this idea, I often find myself using this and improvise from either using a notepad to using random third party apps like PureText but none of them is easy. having them in PowerToys is amazing. I can help too |
Up-voted! Also as an improvement to what PureText already does, can we add a UI option to enable filtering out any trailing CR/LF characters before pasting? When I do copy/paste into my command line prompt from (say) a web page, I normally want to edit the text I've pasted before executing it, to avoid any potentially dangerous consequences. Removing all trailing CR/LFs would help preventing automatic execution. @crutkas, does it sound like a feasible feature? Updated, I've open-sourced my own side project for copy-pasting in plain text and more. Hopefully, it might be useful to others. |
this seems like a great feature. I use run prompt as my scratch pad to unformat text all the time. |
I feel like |
Some apps already use that shortcut as well as |
I would look at this feature as one of 2 potential paths: it either has a UI (on keypress), or it doesn't. If it does have a UI, then this can be quite an expansive feature later. 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.): Upon selecting the top item (click or Enter), it's pasted. If you press Shift+Enter, it pastes without formatting. FWIW, I find this to be quite intuitive. In the PT case, I think the overlapping issue is #671 (though that layout is much too whitespace-y for my taste 😉). 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. We should consider that when choosing shortcuts given the relatively few default possibilities. As with many of the PT proposals, I definitely recommend looking at existing behaviors, like Ditto and others, and see how they look and feel. |
The built-in Win10 Clipboard Manager (Win+V) should be able to fit nicely in this picture, too. IMO, ideally the clipboard management should be the feature of Windows, not PT. A shameless plug, you may want to try out the related tool I maintain, |
Excellent idea! |
Coming back to say we need this. I am using PureText.exe (Win+V) but the ask is really to make Ctrl-Shift-V a WINDOWS GLOBAL STANDARD for pasting as Plain text. Chrome and Teams already do this. on |
@shanselman, perhaps, the challenge to make it work for all existing apps is to settle on how to implement it. There are a few options but none is perfect, IMO:
|
https://stevemiller.net/puretext/ does it reliably and has for years. What does Steve do? |
Could be just "my machine", but with PureText I'd often hit Win+V and nothing would happen, besides the beep. Especially with console apps. I only started playing with a custom app because of this. |
But it doesn't seem to be open source |
PureText doesn't seem to be open-source, but another popular app mentioned here, Ditto Clipboard Manager, is. |
@crutkas What about an integration? |
This issue has the "Help-Wanted" label. Someone could help integrate DevComrade? Ditto is not an option because its GPL licensed |
I think we need first decide on what the pasting behavior should be, given the current array of implementation options. What DevComrade does really isn't a universal solution (see my comment above), it's just something that has worked for me. E.g., I prefer stripping out formatting upon copying in-place in the clipboard, so later Ctrl+V just does the default thing for the current app. |
Then it is something that we would have to wait for a while OR manage behavior customization after the "integration" |
Love to hear what @crutkas thinks about this. |
to me, the ask here is be consistent across everything,
This could be a service but no matter what, it has to be able to be run as admin due to scenarios like Terminal is being run as admin. If you have just gotten into muscle memory of using that shortcut, it won't fire unless this process is admin |
I'm embracing my PM role right now for expectations. My first round of people to chat with is the Win-V team and see what they did. |
👍 Please report back to the community 🙂 |
Was there some news from the Win-V team, @crutkas? |
|
@Wando1423 |
Love this feature, link https://aka.ms/PowerToysOverview_PastePlain leads to a 404 page @crutkas |
Known cause, explained in #24403 |
Thanks for the warning @Jay-o-Way |
Just happened across this thread via my PowerToys update. Not sure if it's possible at all but I just released a clipboard manager that would be amazing to integrate with PowerToys. It's pretty early but available for free at https://pasteboard.app if anyone wants to check it out. It's fully reboot persistent, has search and pinned items, and will soon have Onedrive cloud sync and mobile companion apps. |
Very nice! (this is coming from someone who believes to be quite familiar with the topic). For cloud sync'ing, may I suggest adding end-to-end encryption with a master key, opaque to the cloud, similar to how Chrome Password Managers does it. |
Please open a new issue and tag me with @Aaron-Junker |
Great addition to PowerToys! I've been using PureText by Steve Miller for years, but it's nice to have everything together in one tool |
This was implemented in release 0.68. Thank you for the enhancement request! |
Can this feature be enhanced? The documentation specifies that this changes the contents of the clipboard. Why don't store the content before using ths and then restoring it to its former content? |
On Fri, 24 Mar 2023 at 06:51, jsuelwald ***@***.***> wrote:
This was implemented in release 0.68
<https://github.com/microsoft/PowerToys/releases/latest>. Thank you for
the enhancement request!
Can this featre be enhanced? The documentation specifies that this changes
the contents of the clipboard. Why don't store the content before using ths
and then restoring it to its former content?
—
Reply to this email directly, view it on GitHub
<#1684 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4D3KYWY3R7A2G2BU33EUC3W5UY6TANCNFSM4LTO3DSA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
A.J KYLES
|
Crutkas: See Comment below for an update for Windows build 21318
Summary of the new feature/enhancement
Most of the time people copy rich text from their browser or some application, and want to insert the text without the source (or any) formatting. Some applications allow to Paste as plain text (e.g. browser, or some Linux distros, macOS:
Shift+Option+Command+V
)) usingCtrl+Shift+V
. However, a global Windows shortcut would solve a lot of trouble, preferably toCtrl+Shift+V
The text was updated successfully, but these errors were encountered: