4 ms·
> I'll do weird stuff like copy text to Notepad to remove formatting then past it back into the same app/web page to enter information On Mac you just need to:
by urda 8y ago
> I'll do weird stuff like copy text to Notepad to remove formatting then past it back into the same app/web page to enter information
On Mac you just need to:
pbpaste | pbcopy
Boom, plaintext.
- BoorishBears 8y agoIt’s quicker to paste the text just about anywhere but the program you’re putting it into (like your browser address bar) then copy it again
- cakeface 8y agoI love that trick. Here is a variation I use frequently to format json or javascript. pbpaste | jq . | pbcopy
- OskarS 8y agoIs that guaranteed to be safe, though? You don't have to go "sponge" there somewhere in the middle?
- TeMPOraL 8y agoIs there any way to bind that globally to a key?
- fredsted 8y agoBetterTouchTool will do it.
- systoll 8y agoServices! macOS comes with Automator for this. -- Wrap a automator workflow around that shell script and you get: https://www.dropbox.com/s/njjyfzdptrzno6h/Strip%20Formatting.tgz?dl=0 https://www.dropbox.com/s/njjyfzdptrzno6h/Strip%20Formatting... If you open it up in Automator, it'll let you see the steps, and prompt you to install it [which really just moves the file into ~/Services]. This makes it show up in every app's Services menu. Once installed, you can head to System Preferences > Keyboard > Shortcuts > Services, to set a keyboard shortcut for it.