aboutsummaryrefslogtreecommitdiffstats
path: root/AutoHotkey.ahk
diff options
context:
space:
mode:
authorTeddy Wing2019-07-29 19:54:43 +0200
committerTeddy Wing2019-07-29 19:54:43 +0200
commitceb12724c0d50d97eb2416c3f8fcd4dd65ab0e57 (patch)
tree00932dc30a82be8f71da586587b3b012a0ba905c /AutoHotkey.ahk
parent650d9b4a3ce33f93ccfd26b0dd251033d65bf08c (diff)
downloadAutoHotkey-Scripts-ceb12724c0d50d97eb2416c3f8fcd4dd65ab0e57.tar.bz2
Add `return` to the end of hotkey mappings
Turns out this is required, otherwise statements in the following hotkey definition get executed too. See: https://www.autohotkey.com/docs/Hotkeys.htm#Intro
Diffstat (limited to 'AutoHotkey.ahk')
-rw-r--r--AutoHotkey.ahk2
1 files changed, 2 insertions, 0 deletions
diff --git a/AutoHotkey.ahk b/AutoHotkey.ahk
index 4b83823..2354609 100644
--- a/AutoHotkey.ahk
+++ b/AutoHotkey.ahk
@@ -22,8 +22,10 @@ Send {Tab}
Send {Space}
Send ^{Tab}
Send ^r
+return
; Exit Notepad when not active
^#n::
Send #6
Send !fx
+return