This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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 { |