Skip to content

Commit

Permalink
fix CapsLock+E
Browse files Browse the repository at this point in the history
  • Loading branch information
m2nlight committed Nov 11, 2020
1 parent e8319bc commit 780c3fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions machotkey.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
SetWorkingDir, %A_ScriptDir%

global my_name := "MacHotKey"
global my_version := "v0.3.0"
global my_version := "v0.3.1"
global my_bit := A_PtrSize * 8
global my_website := "https://github.com/m2nlight/AHKShortcutLikeMac"

Expand Down Expand Up @@ -205,10 +205,10 @@ CapsLock & A::
Return
CapsLock & E::
if GetKeyState("Shift") {
Send ^{End}
Send +{End}
return
}
Send ^{End} ; Move end (Emacs: CTRL+E)
Send {End} ; Move end (Emacs: CTRL+E)
Return
CapsLock & Enter::Send {End}{Enter} ; Start new line
CapsLock & \::Send {Home}{Enter}{Up} ; Start new line at previous line
Expand Down

0 comments on commit 780c3fe

Please sign in to comment.