Created
July 19, 2019 10:53
-
-
Save kenji-miyake/f20a6b31f361967922d467f39e389c50 to your computer and use it in GitHub Desktop.
AutoHotKey
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
; Common | |
#Persistent | |
#SingleInstance force | |
#MaxHotkeysPerInterval 100 | |
; Emacs Keybind | |
#If NOT WinActive("ahk_class ConsoleWindowClass") AND NOT WinActive("ahk_class CASCADIA_HOSTING_WINDOW_CLASS") | |
RCtrl & a:: Send {Home} | |
RCtrl & e:: Send {End} | |
RCtrl & k:: Send +{End}^{x} | |
#If | |
; Excel | |
#If WinActive("ahk_class XLMAIN") | |
RCtrl & Enter:: Send {F2}{End} | |
LShift & Enter:: Send {F2}!{Enter} | |
#If | |
; PowerPoint | |
#If WinActive("ahk_class PPTFrameClass") | |
Tab:: Send !+{Right} | |
+Tab:: Send !+{Left} | |
#If |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment