3 ms·
I use AHK to make CapsLock a custom modifier key, mostly to make VIM style movements available everywhere. Caps+p Ctrl+Backspace Delete previous word Caps+f Ba
by ahaferburg 6y ago
I use AHK to make CapsLock a custom modifier key, mostly to make VIM style movements available everywhere.
Caps+p Ctrl+Backspace Delete previous word
Caps+f Backspace
Caps+d Delete
Caps+h/j/k/l Left/Down/Up/Right Arrow
Caps+u/i Home/End
Caps+m/, Page Down/Up
Caps+e/r Ctrl+Left/Right (next/previous word)
Caps+3 Insert current date, e. g. 14.05.20
Caps+Shift+3 ISO format 2020-05-14
I also swapped Return with ' so it's closer to my pinky. Not sure if that was worth it, though.
- ahaferburg 6y agoMy goodness, the formatting. Caps+p Ctrl+Backspace (Delete previous word) Caps+f Backspace Caps+d Delete Caps+h/j/k/l Left/Down/Up/Right arrow Caps+u/i Home/End Caps+m/, Page Down/Up Caps+e/r Ctrl+Left/Right (next/previous word) Caps+3 Insert current date, e. g. 14.05.20 Caps+Shift+3 ISO format 2020-05-14
- deleted 6y ago[deleted]
- davebrny 6y agoi do something similar using the appskey or printscreen key as a modifier so i so i only have to use my right hand. i used lp;' instead of the usual hjkl vim keys though. printscreen:: thumbMod := true return printscreen up:: thumbMod := false return #if thumbMod l:: send {left} ; move caret `;:: send {down} p:: send {up} ':: send {right} +l:: send +{left} ; select text +`;:: send +{down} +p:: send +{up} +':: send +{right} ,:: send {backspace} .:: send {delete} #if