Created
February 2, 2018 06:38
-
-
Save kzu/2570df15e71d01de939b0b23a4bce0fc to your computer and use it in GitHub Desktop.
Home/End AutoHotKey remap
This file contains 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
#InstallKeybdHook | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
; NoTrayIcon | |
; OPTIONAL: For those who use Home/End more than PgUp/PgDown, this flips their use with the Fn key. | |
; If you want the buttons to function as they are, add a semicolon (;) to the beginning of each line below. | |
Home::PgUp | |
End::PgDn | |
PgUp::Home | |
PgDn::End | |
; OPTIONAL: instead of swapping keys, map Alt+PgUp/Dn instead | |
; Turn Alt+PgUp into Home | |
;!PgUp:: | |
; Send {Home} | |
;Return | |
; Turn Alt+PgDn into End | |
;!PgDn:: | |
; Send {End} | |
;Return | |
;^!PgUp:: | |
; Send ^{Home} | |
;Return | |
;^!PgDn:: | |
; Send ^{End} | |
;Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inspired by https://gist.github.com/tehshane/8765405