Skip to content

Instantly share code, notes, and snippets.

View myerspliers's full-sized avatar

Matthew Myers myerspliers

View GitHub Profile
; Make Shift+Insert always paste the clipboard for WSL ubuntu.exe
; Keep regular shift insert as normal as possible, because
; this inserts kind of slow. It's not as slow as SendRaw, but slower
; than a real Shift+Insert.
+Ins::
WinGet, aProcess, ProcessName, A
if (aProcess == "ubuntu.exe") {
SendInput %clipboard%
}
else {