{"id":19232518,"url":"https://github.com/abogoyavlensky/keymap","last_synced_at":"2025-04-21T04:32:33.098Z","repository":{"id":38419080,"uuid":"121101454","full_name":"abogoyavlensky/keymap","owner":"abogoyavlensky","description":"Custom keybinding to keep a focus on a something that matters","archived":false,"fork":false,"pushed_at":"2022-07-30T20:33:57.000Z","size":352,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-27T09:02:05.556Z","etag":null,"topics":["autokey","keybindings","keyboard","linux"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abogoyavlensky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-11T08:16:51.000Z","updated_at":"2023-03-08T16:22:40.000Z","dependencies_parsed_at":"2022-09-01T12:50:27.818Z","dependency_job_id":null,"html_url":"https://github.com/abogoyavlensky/keymap","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Fkeymap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Fkeymap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Fkeymap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abogoyavlensky%2Fkeymap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abogoyavlensky","download_url":"https://codeload.github.com/abogoyavlensky/keymap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223849358,"owners_count":17213640,"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":["autokey","keybindings","keyboard","linux"],"created_at":"2024-11-09T16:06:32.799Z","updated_at":"2024-11-09T16:06:34.014Z","avatar_url":"https://github.com/abogoyavlensky.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keyboard preview\n\n![Keyboard preview](keyboard-layout.png?raw=true \"Title\")\n\n*Our aim to have a keyboard which would be convenient for typing without distraction.\nIn current instruction we will get keybindings look like in preview,\nbut you could change any of them on your own using current example.*\n\n\n# Setup instruction for Linux with Key Mapper\n\n*Key Mapper link: https://github.com/sezanzeb/key-mapper*\n\n## Disable Caps Lock\n\nThen install `GNOME Tweaks`\n\n```bash\n$ sudo apt-get install gnome-tweak-tool\n```\n\nOpen tweak tools and choose settings in\n\"Keyboard \u0026 Mouse\" -\u003e \"Additional Layout Options\" -\u003e \"Caps Lock behavior\":\n\n* \"Caps Lock is disabled\"\n\n\n## Make Control as Win\n\n\nOpen tweak tools and choose settings in \n\"Keyboard \u0026 Mouse\" -\u003e \"Additional Layout Options\" -\u003e \"Alt/Win behavior\":\n\n* \"Ctrl is mapped to Alt; Alt is mapped to Win\"\n\n## Install the latest Key Mapper\n\n```bash\nsudo apt install git python3-setuptools\nwget https://github.com/sezanzeb/key-mapper/releases/download/0.8.1/key-mapper-0.8.1.deb\nsudo dpkg -i key-mapper-0.8.1.deb\n```\n\n## Configure Key Mapper\n\nCreate new preset with any name you choose. \nThen copy text from config from file of this repo:\n\n```bash \ncat key-mapper/presets/USB-HID Keyboard/Andrey.json \n```\n\nto the Key Mapper preset config: `.config/key-mapper/presets/USB-HID Keyboard`.\n\n*Note: a keyboard name could be different.*\n\n*Note: other config files in dir `key-mapper` of the repo are for backup purposes.*\n\n## Enable mapping\n\nNow you could open Key Mapper and chose the preset you configured.\nAfter that press `Apply`. And key mapping should work immediatly.\nIf you want to make it default on system start enable `Autoload` switch.\n\n\n# Setup instruction for Linux with Autokey (DEPRECATED)\n\n## Requirements\n\n* Ubuntu 18.04\n* GNOME Tweaks\n* AutoKey\n\n*Tested Ubuntu 18.04.\n\n## Change keys for a couple of default actions\n\nIn Autokey itself *Settings -\u003e Devices -\u003e Keyboard:* \n\n```\nLock screen -\u003e Shift+Ctrl+L\nClose window -\u003e Shift+Ctrl+W\n```\n\n## Make Caps Lock as Hyper\n\nThen install `GNOME Tweaks`\n\n```bash\n$ sudo apt-get install gnome-tweak-tool\n```\n\nOpen tweak tools and choose settings in\n\"Keyboard \u0026 Mouse\" -\u003e \"Additional Layout Options\" -\u003e \"Caps Lock behavior\":\n\n* Typing-\u003eCaps Lock key behavior-\u003eMake Caps Lock an additional Hyper\n\n\n## Make Control as Win\n\nOpen `GNOME Tweaks`\n\nOpen tweak tools and choose settings in \n\"Keyboard \u0026 Mouse\" -\u003e \"Additional Layout Options\" -\u003e \"Alt/Win behavior\":\n\n* \"Ctrl is mapped to Alt; Alt is mapped to Win\"\n\n\n## Change keyboard key bindings\n\nInstall `AutoKey`:\n\n```bash\n$ sudo apt-get install autokey-gtk\n```\n\nOpen the program and disable default bindings for Hyper key inside AutoKey\nitself:\n\n* Edit-\u003ePreferences-\u003eSpecial Hotkeys\n* Make clean all of them\n\nAdd symlink for predefined keybindings from current repository:\n\n```bash\n$ git clone https://github.com/abogoyavlensky/keymap.git\n$ ln -s /full/path/to/keymap/Phrases /full/path/to/.config/autokey/data/Phrases\n```\n\nAlso nice to have `AutoKey` always running. For that, please put it to\nautostart:\n\n* Open `Gnome Tweak Tools` and add the program in the tab called\n`Startup Application`.\n\n# Setup instruction for macOS\n\n## Requirements\n* Tested on macOS 10.14.4\n* Install [Karabiner](https://pqrs.org/osx/karabiner/index.html)\n\n## Enable karabiner_grabber\n\n*Source: https://github.com/pqrs-org/Karabiner-Elements/issues/3011#issuecomment-1046265810*\n\n- go to macOS settings: System Preferences -\u003e Security \u0026 Privacy -\u003e Input Monitoring\n- unlock to make changes\n- if you don't see `karabiner_grabber` click plus \"+\" button\n- add the /Library/Application Support/org.pqrs/Karabiner-Elements/bin/karabiner_grabber\n- and enable it by clicking checkbox\n\n## Import configuration\n\nOpen next links to the browser to import configuration into Karabiner:\n- `karabiner://karabiner/assets/complex_modifications/import?url=https://raw.githubusercontent.com/abogoyavlensky/keymap/master/Karabiner/keymap-arrows.json`\n- `karabiner://karabiner/assets/complex_modifications/import?url=https://raw.githubusercontent.com/abogoyavlensky/keymap/master/Karabiner/keymap-f-keys.json`\n\nAll enabled complex modifications should looks like this:\n\n![remap tilda key screen](Karabiner/all_complex.png)\n\n# That's it\n\nNow your keyboard should look like on preview above.\n\n*All key bindings also work for any additional layout on your machine\nwithout delay after switching between them.*\n\n# Additional info\n\n## UK keyboard\n\n### Mapping UK keyboard signs to US\n\n- `karabiner://karabiner/assets/complex_modifications/import?url=https://raw.githubusercontent.com/abogoyavlensky/keymap/master/Karabiner/keymap-uk-pound-to-hash.json`\n\n### Reassign § key to ~\n\n_[https://github.com/pqrs-org/Karabiner-Elements/issues/1365](https://github.com/pqrs-org/Karabiner-Elements/issues/1365)_\n\n![remap tilda key screen](Karabiner/tilda.png)\n\n\n## To know keycode of usual keys run following command and press the key\n\n```bash\n$ xev -event keyboard\n```\n\n## To know name of special keys please check wiki page of AutoKey\n\nhttps://github.com/autokey/autokey/wiki/Special-Keys\n\n## Useful links\n\n* http://tonsky.me/blog/cursor-keys/ - inspiration;\n* https://github.com/madslundt/keybindings - different approach for Linux;\n* http://www.keyboard-layout-editor.com/ - keyboard picture.\n\n## Caveats:\n\n* in Autokey some of helpful Ubuntu system key bindings don't work with new arrow\nkeys. For example, you should still use ordinary arrows to move\ncurrent window to bottom workspace and so on: `\u003cctrl\u003e+\u003calt\u003e+\u003cdown\u003e`. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabogoyavlensky%2Fkeymap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabogoyavlensky%2Fkeymap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabogoyavlensky%2Fkeymap/lists"}