7 ms·
This AutoHotKey script was a game changer for me. It maps Ctrl + Shift + V to paste without formatting. ;; Text–only paste from ClipBoard ;; (https://a
by dattiimo 3y ago
This AutoHotKey script was a game changer for me. It maps Ctrl + Shift + V to paste without formatting.
;; Text–only paste from ClipBoard
;; (https://autohotkey.com/board/topic/10412-paste-plain-text-and-copycut/)
;; ctrl + shit + v
^+v::
Clip0 = %ClipBoardAll%
ClipBoard = %ClipBoard% ; Convert to text
Send ^v ; For best compatibility: SendPlay
Sleep 150 ; Don't change clipboard while it is pasted! (Sleep > 0)
ClipBoard = %Clip0% ; Restore original ClipBoard
VarSetCapacity(Clip0, 0) ; Free memory
Return
[Edit: tried to fix formatting]
- inanutshellus 3y agoctrl-shift-v is so nice. it should be an OS-standard keyboard shortcut for clipboards. would also love to get a mult-value clipboard (e.g. my last 5 clips) but... that's asking a lot i guess. ;-)
- inafewwords 3y agoI use it in Mac as part of my job duties. So far it mostly works in the place I need it most which is web forms on chrome. Some applications I wish it worked on do not recognize it such as notes app. I'll have to figure it out on Mac since ahk was my go to when I had pc
- function_seven 3y agoUse WIN+V instead of CTRL+V to get a clipboard history pop-up in Windows 10. https://support.microsoft.com/en-us/windows/clipboard-in-windows-c436501e-985d-1c8d-97ea-fe46ddf338c6#WindowsVersion=Windows_10 https://support.microsoft.com/en-us/windows/clipboard-in-win...
- aimor 3y agoWow, I feel like it's time to bring back the "Welcome to Windows" tips at login. ..is there a way to bring that back?
- pnutjam 3y agowoah... This works in KDE too on linux.
- w0m 3y agoJust why can't you search it? I used Alfred religiously on OSX for this functionality; and it's almost there.
- function_seven 3y agoMy complaint is that I can't reorder the items so that an older clip is back "on deck" for a vanilla CTRL+V. Some programs (gVim) don't take too kindly to WIN+V.
- riezebos 3y agoIn case you are not aware: https://ditto-cp.sourceforge.io/ https://ditto-cp.sourceforge.io/
- wrboyce 3y agoOpt-cmd-shift-v is the (rather unwieldy) macOS shortcut to paste without formatting. I have cmd-shift-v mapped to my clipboard history which is fully searchable, I use Raycast on Mac but I would wager there are Linux and Windows alternatives.
- djbusby 3y agoWorks out of the box on Xfce.
- mailund 3y agoIt is so strange that pasting with formatting is the default! I have so far never wanted to paste with formatting a single time. I dont even understand what use case it is addressing.
- innocenat 3y agoCopy image from one place to another. Copy entire powerpoint slide between presentation. Copy table from web to word.
- nixass 3y agoHow many times in a day you do that versus pasting with no formatting?
- stronglikedan 3y agoExceptionally more, personally.
- w0m 3y agoHonestly - Depends on the Job. When coding, I generally want ~no formatting by default. But When I'm pulling a code chunks into an email or similar; to preserve easier readability I can either copy from terminal with formatting or send a screenshot (which recipient then can't copy if they want to play with it). You could say "Use a different tool!" like Gist or similar; but that's often overkill.
- pynappo 3y agoOn a daily basis, i paste into programs that aren't wysiwyg (terminal, reddit, browser omnibar, etc) much more often than stuff that is (google docs, powerpoint). for the former programs it doesn't matter if i paste with or without formatting. for the latter programs having the default be paste with formatting seems fine. yes, i'll paste stuff from the web without formatting. But copying/cutting/pasting within the same document is also a pretty common interaction and if i'm cutting something non-trivial (eg. google docs table/nested lists), i don't want to paste it back into google docs as a bunch of regular, separate lines.
- benhurmarcel 3y agoFor the record, it's also available without AutoHotKey, using Powertoys [1] or PureText [2]. Very useful. [1] https://learn.microsoft.com/en-us/windows/powertoys/ https://learn.microsoft.com/en-us/windows/powertoys/ [2] https://stevemiller.net/puretext/ https://stevemiller.net/puretext/
- dattiimo 3y agoThat's great. I hadn't noticed it's has been added to PowerToys. I can now finally retire my 7 year old script. Hopefully one day it will be promoted to be included in Windows by default.
- screye 3y agoCan't understand why Powertoys don't come standard in Windows 11. They're too useful and too polished to be an optional add-on.
- jcotton42 3y agoPowerToys can be iterated on much faster than the Windows release cycle, and without needing the same support commitment. Plus, some of the features do "graduate" in a sense, like Snap Assist https://www.windowscentral.com/how-use-snap-assist-windows-11 https://www.windowscentral.com/how-use-snap-assist-windows-1..., which is basically a watered down version of Fancy Zones.
- perennialmind 3y agoWith AutoHotKey you can escalate to sending as-if-by-keyboard, for those frustrating scenarios where clipboard paste is ignored. SendInput {Raw}%ClipBoard%`
- deleted 3y ago[deleted]