3 ms·
> Caps lock is Escape everywhere all the time This would be a limit: I use AHK to have chorded keys: - caps is esc if used alone, control if used with another
by csdvrx 5y ago
> Caps lock is Escape everywhere all the time
This would be a limit: I use AHK to have chorded keys:
- caps is esc if used alone, control if used with another key
- enter is enter if used alone, control if used with another key
- shift left is page up if used alone, shift if used with another key
- shift right is page down if used alone, shift if used with another key
- alt left is home if used alone, alt if used with another key
- alt right is home if used alone, alt if used with another key
This makes many shortcuts very easy: ctrl-l can be done one handed with the right hand by pressing enter-l
Likewise, to control-shift-home, I press caps+shift left+alt left.
To move between tabs, on the left caps then shift left, or on the right enter then shift right.
Better: the two thumbs "beginning then end of file" to have a quick look at some code: right alt then left alt (so right alt=alt, left alt=home) and the same 2 keys but in the opposite order, left alt then right alt (so left alt=alt, right alt=end)
This is so super practical with AutoHotKey...
- vijucat 5y agoThis is super interesting. I absolutely love AHK, too. But can you please clarify how you achieve, "caps is esc if used alone, control if used with another key"? Is it based on whether the key is still down (pressed) vs. up (released)? If you don't mind, can you please share your script? My Capslock-as-a-modifier setup is very simple. I just use Capslock + various keys to do stuff: Capslock & p::Send, {PgUp} Capslock & n::Send, {PgDn}
- csdvrx 5y agoOf course, I'm happy to share my script! I've already posted it here, check my posting history. Since you are the 2nd person to ask, I might even put it on github!