A collection of useful shortcuts that I use. These are optimized for QWERTY. Versions available for AutoHotKey (Windows) and AutoKey (Linux).
To use these you need to have AutoHotKey installed on your compute. When installed, download the autohotkey/alt-hotkey.ahk file and open it.
To use these you need to install AutoKey on your system.
Then, either download autokey/generated.zip and unzip and import into AutoKey or use the autokey/autokey-generate.py script to generate the AutoKey files for you:
python3 autokey-generate.py <output_dir>
To use these on macOS, you'll need to install Karabiner. Use the config provided in the karabiner folder to overwrite ~/.config/karabiner/karabiner.json
.
ℹ️ Most of these can be used with Shirt and Ctrl to select and jump words.
Shortcut | Action |
---|---|
Simple | |
Alt+I | Up |
Alt+J | Left |
Alt+K | Down |
Alt+L | Right |
Alt+U | Home |
Alt+O | End |
Alt+9 | Up * 8 |
Alt+, | Down * 8 |
Alt+Ctrl+9 | PgUp |
Alt+Ctrl+, | PgDn |
Shortcut | Action |
---|---|
Alt+H | Select the whole line |
Alt+Shift+H | Remove the whole line |
Alt+Ctrl+H | Duplicate the whole line |
Alt+Enter | Create a new line under the current line |
Alt+Shift+Enter | Create a new line above the current line |
Alt+Backspace | Backspaces a whole word |
Alt+S | Delete |
Alt+Ctrl+I | Alt+Up (moves a line in certain editors) |
Alt+Ctrl+K | Alt+Down (moves a line in certain editors) |