-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
SetCapsLockState AlwaysOff | ||
|
||
; Basic movement | ||
CapsLock & j::Send {blind}{Left} | ||
CapsLock & l::Send {blind}{Right} | ||
CapsLock & i::Send {blind}{Up} | ||
CapsLock & k::Send {blind}{Down} | ||
|
||
; Fast move | ||
CapsLock & u::Send {blind}{Up 5} | ||
CapsLock & n::Send {blind}{Down 5} | ||
|
||
; Fast delete | ||
CapsLock & Backspace::Send {blind}{Backspace 5} | ||
CapsLock & Delete::Send {blind}{Delete 5} | ||
|
||
; Delete words | ||
CapsLock & w::Send {blind}^{Backspace} | ||
CapsLock & e::Send {blind}^{Delete} | ||
|
||
; Go back or forward. | ||
CapsLock & ,::Send {blind}!{Left} | ||
CapsLock & .::Send {blind}!{Right} | ||
; with mouse wheel | ||
CapsLock & WheelDown::Send {blind}!{Left} | ||
CapsLock & WheelUp::Send {blind}!{Right} | ||
|
||
; Call context menu | ||
CapsLock & p::Send {AppsKey} | ||
|
||
; Emulate PgUp, PgDn, Home, End buttons. | ||
CapsLock & h::Send {blind}{Home} | ||
CapsLock & SC027::Send {blind}{End} | ||
CapsLock & y::Send {blind}{PgUp} | ||
CapsLock & b::Send {blind}{PgDn} | ||
|
||
; Jump left or right on. | ||
CapsLock & Space::Send {blind}^{Right} | ||
CapsLock & LAlt::Send {blind}^{Left} | ||
|
||
; Copy, crop and paste. For convenience | ||
CapsLock & c::Send {blind}^c | ||
CapsLock & x::Send {blind}^x | ||
CapsLock & v::Send {blind}^v | ||
|
||
; Delete everything before or after the cursor | ||
CapsLock & q::Send {blind}+{Home}{Delete} | ||
CapsLock & r::Send {blind}+{End}{Delete} | ||
|
||
; Select word around cursor | ||
CapsLock & s::Send {blind}^{Left}^+{Right} | ||
|
||
; Copy line and add below | ||
CapsLock & a::Send {blind}{End}+{Home}^c{End}{Enter}^v | ||
|
||
; Copy and delete line | ||
CapsLock & d:: | ||
Send {blind}{End} | ||
Send {blind}+{Home}+{Home} | ||
Send {blind}^c{Backspace} | ||
return |