Comment

Comment by dattiimo

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]
parent dattiimo 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton