mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Fixes on paste in terminals for windows
This commit is contained in:
@@ -148,19 +148,14 @@ $^+Right::Send +{End}
|
|||||||
|
|
||||||
; Paste
|
; Paste
|
||||||
^v::
|
^v::
|
||||||
If not WinActive("ahk_group ConEmu") && not WinActive("ahk_exe cmd.exe"){
|
If WinActive("ahk_group posix"){
|
||||||
SetKeyDelay -1
|
Send {Blind}{Shift down}v{Shift up}
|
||||||
Send {Blind}{LShift down}{v DownTemp}
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Send {Blind}v
|
Send {Blind}v
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
||||||
^v up::
|
|
||||||
SetKeyDelay -1
|
|
||||||
Send {Blind}{v Up}{LShift Up}
|
|
||||||
return
|
|
||||||
#If
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_group posix
|
#IfWinActive ahk_group posix
|
||||||
|
@@ -137,16 +137,6 @@ $^+Right::Send +{End}
|
|||||||
#If
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_group terminals
|
#IfWinActive ahk_group terminals
|
||||||
; Sigint Interrupt
|
|
||||||
; $#c::Send {Ctrl down}c{Ctrl up}
|
|
||||||
|
|
||||||
; $#c up::Send {c up}{Ctrl up}
|
|
||||||
|
|
||||||
; #c up::
|
|
||||||
; SetKeyDelay -1
|
|
||||||
; Send {c Up}{Ctrl up}
|
|
||||||
; return
|
|
||||||
|
|
||||||
; Copy
|
; Copy
|
||||||
^c::
|
^c::
|
||||||
SetKeyDelay -1
|
SetKeyDelay -1
|
||||||
@@ -162,21 +152,13 @@ $^+Right::Send +{End}
|
|||||||
$#c::Send {Ctrl down}c{Ctrl up}
|
$#c::Send {Ctrl down}c{Ctrl up}
|
||||||
|
|
||||||
; Paste
|
; Paste
|
||||||
*v::
|
^v::
|
||||||
if (GetKeyState("LCtrl")){
|
If WinActive("ahk_group posix"){
|
||||||
If not WinActive("ahk_group ConEmu") && not WinActive("ahk_exe cmd.exe"){
|
Send {Blind}{Shift down}v{Shift up}
|
||||||
SetKeyDelay -1
|
|
||||||
Send {Blind}{LShift down}{v DownTemp}
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Send {Blind}v
|
Send {Blind}v
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return
|
|
||||||
|
|
||||||
^v up::
|
|
||||||
SetKeyDelay -1
|
|
||||||
Send {Blind}{v Up}{LShift Up}
|
|
||||||
return
|
return
|
||||||
#If
|
#If
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user