logoalt Hacker News

red_admiralyesterday at 9:50 PM4 repliesview on HN

Once upon a time, you could strip formatting from the clipboard in notepad with ^V ^A ^C, for example if you were trying to paste from edge into word. There's still a market for a non-rich text editor, without autosave, cloud, account login or AI.


Replies

hurfdurfyesterday at 9:59 PM

Apparently pasting unformatted text in browsers can be done with Ctrl+Shift+V. Pasting it in Office is Ctrl+Alt+V. Always the odd one out. Taken from here: https://devblogs.microsoft.com/oldnewthing/20220906-00/?p=10...

show 1 reply
tfvlruetoday at 1:29 AM

I've been using this AutoHotKey script long enough that Ctrl+Shift+V has become a muscle memory for "paste without formatting". In case it's useful to anyone else, put this in a file (clipboard.ahk) and run it at startup:

  ^+v::
  Clipboard:=Clipboard
  Send ^v
That way, it works globally, it's not dependent on any particular application implementing it.
ThrowawayTestrtoday at 2:07 AM

Notepad in Windows 11 (while not autosave) will preserve unsaved documents.

gmuecklyesterday at 9:56 PM

Unless it changed recently, the faster way is to just press ctrl+shift+V for "paste special" in Word, which should open up the paste dialog with "Unformated Text" preselected (IIRC), so immediately pressing Enter should close the dialog and paste the stripped text.

show 1 reply