Created
April 20, 2025 05:43
-
-
Save phakeandy/10406db997d8c7c6ead32e58d649e778 to your computer and use it in GitHub Desktop.
alacritty 在 windows 下粘贴会出现换行 bug,维护者不打算修复
This file contains hidden or 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
; https://github.com/alacritty/alacritty/issues/2324 | |
#Requires AutoHotkey v2 | |
#HotIf WinActive("ahk_exe alacritty.exe") | |
; Ctrl+Shift+V -- change line endings | |
^+v:: | |
{ | |
A_Clipboard := StrReplace(A_Clipboard, "`r`n", "`n") | |
Send("^+v") | |
} | |
return | |
#HotIf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment