mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-09 20:37:42 +02:00
- Fixed pasting & various shortcut issues under Windows 10
This commit is contained in:
@@ -106,25 +106,41 @@ return
|
|||||||
#^g::send !{F3}
|
#^g::send !{F3}
|
||||||
#If
|
#If
|
||||||
|
|
||||||
; Not sure why this fix is needed
|
|
||||||
#IfWinActive ahk_exe Firefox.exe
|
|
||||||
^v::send ^v
|
|
||||||
#If
|
|
||||||
|
|
||||||
#IfWinActive ahk_group terminals
|
#IfWinActive ahk_group terminals
|
||||||
; Copy
|
; Copy
|
||||||
^c::Send {LCtrl down}{LShift down}c{LCtrl Up}{LShift Up}
|
^c::Send {LCtrl down}{LShift down}c{LCtrl Up}{LShift Up}
|
||||||
#c::Send {LCtrl down}c{LCtrl Up}
|
#c::Send {LCtrl down}c{LCtrl Up}
|
||||||
#IfWinNotActive ahk_group ConEmu
|
; Paste
|
||||||
; Paste
|
$^v::
|
||||||
^v::Send {LCtrl down}{LShift down}v{LCtrl Up}{LShift Up}
|
If not WinActive("ahk_group ConEmu") && not WinActive("ahk_exe cmd.exe"){
|
||||||
#If
|
Send {LCtrl down}{LShift down}v{LCtrl Up}{LShift Up}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
Send ^v
|
||||||
|
}
|
||||||
|
return
|
||||||
#If
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_group posix
|
#IfWinActive ahk_group posix
|
||||||
; Open/Close Tab for those that support it
|
; Open/Close Tab for those that support it
|
||||||
^t::Send {LCtrl down}{LShift down}t{LCtrl Up}{LShift Up}
|
$^t::
|
||||||
^w::Send {LCtrl down}{LShift down}w{LCtrl Up}{LShift Up}
|
If not WinActive("ahk_group ConEmu"){
|
||||||
|
Send {LCtrl down}{LShift down}t{LCtrl Up}{LShift Up}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
Send ^t
|
||||||
|
}
|
||||||
|
return
|
||||||
|
|
||||||
|
$^w::
|
||||||
|
If not WinActive("ahk_group ConEmu"){
|
||||||
|
Send {LCtrl down}{LShift down}w{LCtrl Up}{LShift Up}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
Send ^w
|
||||||
|
}
|
||||||
|
return
|
||||||
|
|
||||||
; End of Line
|
; End of Line
|
||||||
#e::Send {LCtrl down}e{LCtrl Up}
|
#e::Send {LCtrl down}e{LCtrl Up}
|
||||||
^e::return
|
^e::return
|
||||||
@@ -149,11 +165,11 @@ return
|
|||||||
#z::Send {LCtrl down}z{LCtrl Up}
|
#z::Send {LCtrl down}z{LCtrl Up}
|
||||||
#If
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_group ConEmu
|
; #IfWinActive ahk_group ConEmu
|
||||||
; Paste
|
; ; Paste
|
||||||
$^v::Send {Shift down}{Insert}{Shift Up}
|
; $^v::Send {Shift down}{Insert}{Shift Up}
|
||||||
#v::Send {LCtrl down}v{LCtrl Up}
|
; #v::Send {LCtrl down}v{LCtrl Up}
|
||||||
#If
|
; #If
|
||||||
|
|
||||||
#IfWinActive ahk_exe mintty.exe
|
#IfWinActive ahk_exe mintty.exe
|
||||||
; Copy
|
; Copy
|
||||||
|
Reference in New Issue
Block a user