Last active
August 31, 2019 23:44
-
-
Save brentarias/0fc1a68bb3f7b33737c2c138e44d6bdc to your computer and use it in GitHub Desktop.
AutoHotkey script for Lenovo Yoga that re-maps keyboard for touch-typists.the 'Home' and 'End' key on the Acer Aspire 14 2-in-1.
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
;USE 'Ctrl-/' TO TOGGLE 'UP' ARROW INTO 'SHIFT' KEY. | |
^/::bigShift:=!bigShift | |
#If bigShift | |
Up::RShift | |
#If | |
;REPLACE 'INSERT' AND 'DELETE' WITH 'HOME' AND 'END' KEYS. | |
Del::End | |
Insert::Home | |
;MOVE 'DELETE' KEY TO Shift-Backspace | |
+BS::Send {Del} | |
;OPEN NOTEPAD WITH 'Win-v' | |
#v:: | |
Run, notepad.exe, , , process_id | |
WinWait, ahk_pid %process_id% | |
WinActivate, ahk_pid %process_id% | |
Return | |
; Make 'Ctrl+Shift+V' swap selected text with clipboard text. | |
^+v:: | |
itemOne = %clipboard% | |
Send ^c | |
ClipWait | |
itemTwo = %clipboard% | |
clipboard = %itemOne% | |
Send ^v | |
clipboard = %itemTwo% | |
return | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment