hjkl-keybindings
daveconfig
hjkl-keybindings | daveconfig | |
---|---|---|
1 | 2 | |
8 | 32 | |
- | - | |
10.0 | 7.6 | |
over 4 years ago | 27 days ago | |
AutoHotkey | Vim Script | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hjkl-keybindings
-
Learn AutoHotKey by stealing my scripts
I used to use an Ann Pro 2 keyboard. By default, h, j, k, l could be used as arrow keys when fn was held down. The fn keys also remapped '[]' to 'home' and 'end', ";'" to pgup, pgdown, and '/' to delete. It also had this feature where the caps lock key acted as a fn key when held down. I very quickly got used to holding the caps lock key with my left pinky to access all the keys I needed with my right hand. I became much more productive on this little 60% keyboard than on any full-sized one as I never had to move my fingers from the home row.
I've now switched to a qmk compatible Keychron V2 (65%) keyboard and remapped the keys exactly the same way. I'm very tempted to go back to a more compact 60% since I literally never use the arrow keys.
When I use my laptop on the go, AHK to the rescue. I found a script[0] that does almost the same thing, unfortunately, it fails when I use more than one modifier with the arrow keys. For example: shift + ctrl + left arrow to select one word to the left, which is shift + ctrl + caps lock + h in my case, doesn't work.
[0] https://github.com/AlexP11223/hjkl-keybindings/blob/master/w...
daveconfig
-
Learn AutoHotKey by stealing my scripts
Autohotkey is amazing, but I wish it used a saner language. I struggled to write a reliable golden ratio version of aero snap [1]. Dealing with different monitors, sizes, etc doesn't seem like it should be so hard, but I always get tripped up by the bizarre Loop syntax or silent failures from some simple mistake that suck the fun out and I give up.
I found ahk python module [2] but combining it with the keyboard module doesn't work as well as autohotkey as a hotkey listener.
[1]: https://github.com/idbrii/daveconfig/blob/main/win/autohotke...
-
A small command line tool I've been working on and would love some input: https://github.com/membersincewayback/gen
:h skeleton is another way of doing this and it works from within vim. Could also run vimscript to generate better content.
What are some alternatives?
autohotkey-scripts - Some of my AutoHotKey scripts
TapHoldManager - An AHK library for Long Press / Multi tap / Multi tap and hold
KeyboardRemap - My custom keyboard remap, using AutoHotkey v2
AutoHotkeyScripts - Personal AutoHotkey Scripts
AutoHotkey - :gear: My Autohotkey productivity suite that includes shortcuts, hotstrings, hotkeys, apps/utilities, AutoCorrect
sharpkeys - SharpKeys is a utility that manages a Registry key that allows Windows to remap one key to any other key.
AutoHotInterception - An AutoHotkey wrapper for the Interception driver
Ditto - Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.
uncap - Map Caps Lock to Escape or any key to any key