{"id":23235678,"url":"https://github.com/madslundt/keybindings","last_synced_at":"2025-04-09T23:13:53.639Z","repository":{"id":47696619,"uuid":"94883063","full_name":"madslundt/keybindings","owner":"madslundt","description":"Remap arrow keys to ijkl and make use of caps lock","archived":false,"fork":false,"pushed_at":"2025-03-14T14:19:42.000Z","size":70,"stargazers_count":224,"open_issues_count":1,"forks_count":52,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T23:13:48.105Z","etag":null,"topics":["arrow-keys","autohotkey","autokey","autokeyboard","capslock","cmder","ijkl","keybindings","libinput","linux","terminator","terminator-terminal","windows"],"latest_commit_sha":null,"homepage":"","language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madslundt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-20T11:16:43.000Z","updated_at":"2025-03-24T07:37:34.000Z","dependencies_parsed_at":"2022-09-07T02:20:17.940Z","dependency_job_id":null,"html_url":"https://github.com/madslundt/keybindings","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madslundt%2Fkeybindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madslundt%2Fkeybindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madslundt%2Fkeybindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madslundt%2Fkeybindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madslundt","download_url":"https://codeload.github.com/madslundt/keybindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125589,"owners_count":21051770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arrow-keys","autohotkey","autokey","autokeyboard","capslock","cmder","ijkl","keybindings","libinput","linux","terminator","terminator-terminal","windows"],"created_at":"2024-12-19T03:29:14.165Z","updated_at":"2025-04-09T23:13:53.613Z","avatar_url":"https://github.com/madslundt.png","language":"AutoHotkey","readme":"My preferred key bindings for both Linux and Windows.\n\nMake use of caps lock, remap arrow keys to { i, j, k, l } and extra stuff.\n\nFor [Linux](#linux) and for [Windows](#windows)\n\n# Linux\n## AutoKey\n[AutoKey](https://github.com/autokey/autokey) needs to be installed for Linux. This can be downloaded within Ubuntu package manager. The scripts can be found [here](linux/autokey).\n\nAt first caps lock has to be changed to function as the **hyper** key. This can be done with **Gnome Tweak Tool**.\n\n| Shortcut                         | Output                           |\n| -------------------------------- | -------------------------------- |\n| CAPSLOCK + { i, j, k, l }        | { Up, Left, Down, Right }        |\n| CAPSLOCK + CTRL + { i, j, k, l } | ALT + { Up, Left, Down, Right }  |\n| CAPSLOCK + ALT + { i, j, k, l }  | CTRL + { Up, Left, Down, Right } |\n| CAPSLOCK + { u, o }              | { Home, End }                    |\n| ALT + { i, k }                   | { PageUp, PageDown }             |\n\nMove the scripts to the directory `~/.config/autokey/data/`.\n\n## Terminator\nTerminator is used as a terminal and scripts can be found [here](linux/terminator).\n\n| Shortcut                                | Output                                                         |\n| --------------------------------------- | -------------------------------------------------------------- |\n| CAPSLOCK + CTRL + Alt { k, l }          | Create new tab to the { bottom, right }                        |\n| CAPSLOCK + CTRL { i, j, k, l }          | Focus the tab to the { top, left, bottom, right }              |\n| CAPSLOCK + ALT + SHIFT + { i, j, k, l } | Increase/Decrease tab size to the { top, left, bottom, right } |\n| CTRL + Shift + w                        | Close  tab                                                     |\n| CTRL + Shift + c                        | Copy text                                                      |\n| CTRL + Shift + v                        | Paste text                                                     |\n| ALT + { i, k }                          | { PageUp, PageDown }                                           |\n\nMove the script to the directory `~/.config/terminator/`.\n\n## Tilda\nTilda is used as a dropdown terminal and the scripts can be found [here](linux/tilda).\n\nThis adds the terminal to the op of the screen by pressing `CapsLock + T`.\n\nMove the script to the directory `~/.config/tilda/`.\n\n# Windows\n\n## AutoHotKey\n[AutoHotKey](https://autohotkey.com) needs to be installed for Windows. The scripts can be found [here](windows/autohotkey).\n\n| Shortcut                         | Output                           |\n| -------------------------------- | -------------------------------- |\n| CAPSLOCK + { i, j, k, l }        | { Up, Left, Down, Right }        |\n| CAPSLOCK + ALT + { i, j, k, l }  | CTRL + { Up, Left, Down, Right } |\n| CAPSLOCK + CTRL + { i, j, k, l } | ALT + { Up, Left, Down, Right }  |\n| CAPSLOCK + { u, o }              | { Home, End }                    |\n| ALT + { i, k }                   | { PageUp, PageDown }             |\n| CAPSLOCK + { y, h }              | { PageUp, PageDown }             |\n\n### Automatically start up\n 1. Find the script file, select it, and press Control-C.\n 2. Start **Run** and write `shell:startup`.\n 3. Right click and choose **Paste Shortcut**. The shortcut to the script should now be in the Startup folder.\n\n If you need to run it as administrator either make sure the scripts is set up to administrator or start Command Prompt as administrator and run the scripts within.\n\n ## CMDer\n\n| Shortcut                                | Output                                                         |\n| --------------------------------------- | -------------------------------------------------------------- |\n| CAPSLOCK + CTRL + Alt { k, l }          | Create new tab to the { bottom, right }                        |\n| CAPSLOCK + CTRL { i, j, k, l }          | Focus the tab to the { top, left, bottom, right }              |\n| CTRL + Shift + w                        | Close  tab                                                     |\n| CTRL + Shift + c                        | Copy text                                                      |\n| CTRL + Shift + v                        | Paste text                                                     |\n| ALT + { i, k }                          | { PageUp, PageDown }                                           |\n\nDownload font [FiraCode](https://github.com/tonsky/FiraCode) and [FlottFlott](https://www.dafont.com/flottflott.font)\n\n# macOS\n\n## Karabiner-Elements\n[Karabiner-Elements](https://pqrs.org/osx/karabiner/index.html) needs to be installed for macOS. The `karabiner.json` file with the profile can be found [here](macOS/Karabiner).\n\n| Shortcut                                                  | Output                                                    |\n| --------------------------------------------------------- | --------------------------------------------------------- |\n| CAPSLOCK + { i, j, k, l }                                 | { Up, Left, Down, Right }                                 |\n| CAPSLOCK + ⌘ COMMAND + { i, j, k, l, Backspace, Delete }  | ⌥ OPTION + { Up, Left, Down, Right, Backspace, Delete }   |\n| CAPSLOCK + ⌥ OPTION  + { i, j, k, l, Backspace, Delete }  | ⌘ COMMAND + { Up, Left, Down, Right, Backspace, Delete }  |\n| CAPSLOCK + { u, o }                                       | { Home, End } (*)                                         |\n| SHIFT + Backspace                                         | Delete                                                    |\n\n* Home and End aren't very useful on macOS. Similar functionality can be achieved with OPTION + Up (start of line), and OPTION + Down (end of line).\nNote that those would be COMMAND + Up and COMMAND + Down with the provided bindings.\n\n### Adding to Karabiner\n\u003e :warning: **If you already use Karabiner**: follow the advanced steps to avoid loss of current settings.\n\nCopy [karabiner.json](macOS/Karabiner/karabiner.json) to your Karabiner config directory.\nThis will result in Karabiner reading two profiles; 'Default macOS' and 'CAPSLOCK + IJKL'.\nSelect 'CAPSLOCK + IJKL' and you are all set!\n\n#### Advanced: copying only the modifications\nIf you already have your own profile and you only want to add the complex modifications, follow these steps.\n\nIn [karabiner.json](macOS/Karabiner/karabiner.json) locate the profile 'CAPSLOCK + IJKL' and copy all the desired modifications from the 'rules' section (lines 153 to 844).\n\n# Git\nHelper tools for git\n\n## Git alias\n[gitalias.txt](git/gitalias.txt) contain git aliases to be added to your git config.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadslundt%2Fkeybindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadslundt%2Fkeybindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadslundt%2Fkeybindings/lists"}