{"id":13337842,"url":"https://github.com/trailjeep/kbd","last_synced_at":"2025-03-11T07:31:23.982Z","repository":{"id":62744170,"uuid":"560960411","full_name":"trailjeep/kbd","owner":"trailjeep","description":"Keyboard Shortcuts repository for use with cheat.sh standalone install.","archived":false,"fork":false,"pushed_at":"2023-01-27T18:09:58.000Z","size":135,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-04-29T21:52:01.150Z","etag":null,"topics":["applications","apps","cheat-sh","cheat-sheets","cheatsheets","cht-sh","keyboard","shortcuts","tldr"],"latest_commit_sha":null,"homepage":"","language":"Python","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/trailjeep.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":"2022-11-02T16:27:57.000Z","updated_at":"2023-04-15T20:49:06.000Z","dependencies_parsed_at":"2023-02-15T11:46:50.895Z","dependency_job_id":null,"html_url":"https://github.com/trailjeep/kbd","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/trailjeep%2Fkbd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailjeep%2Fkbd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailjeep%2Fkbd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailjeep%2Fkbd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trailjeep","download_url":"https://codeload.github.com/trailjeep/kbd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213069721,"owners_count":15532845,"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":["applications","apps","cheat-sh","cheat-sheets","cheatsheets","cht-sh","keyboard","shortcuts","tldr"],"created_at":"2024-07-29T19:15:10.068Z","updated_at":"2024-10-23T16:31:35.094Z","avatar_url":"https://github.com/trailjeep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keyboard Shortcut Cheat Sheets\n\nPersonal Keyboard Shortcuts repository for use with cheat.sh standalone install.\n\n## Install\n\n1. Install [chubin/cheat.sh](https://github.com/chubin/cheat.sh/blob/master/doc/standalone.md) standalone\n2. Copy [kbd.py](kbd.py) to `$HOME/.cheat.sh/lib/adapter/`\n3. Add to `$HOME/.cheat.sh/lib/config.py`\n```\n...\n_CONFIG = {\n    \"adapters.active\": [\n        \"tldr\",\n        \"kbd\",\n...\n    \"routing.main\": [\n        (\"\", \"cheat.sheets\"),\n        (\"\", \"cheat\"),\n        (\"\", \"tldr\"),\n        (\"\", \"kbd\"),\n...\n```\n4. Initialize:\n```\n$HOME/.cheat.sh/ve/bin/python $HOME/.cheat.sh/lib/fetch.py fetch-all\n```\n\n## Update\n\n1. Perform after any repo updates:\n```\n$HOME/.cheat.sh/ve/bin/python $HOME/.cheat.sh/lib/fetch.py update-all\n```\n\n## Usage\n\nAll cheatsheets for app including keyboard:\n```\ncht.sh {APP}\n```\n\nOnly keyboard cheat sheet for app:\n```\ncht.sh kbd:{APP}\n```\n\n### Aliases / Functions\n\n```\nif $(command -v cht.sh \u003e/dev/null 2\u003e\u00261); then\n    alias cht='cht.sh'\n    kbd() {\n        cht.sh kbd:\"$1\"\n    }\n    alias kbdl='find $HOME/.cheat.sh/upstream/keyboard/ -name \"*.md\" -printf \"%f\\n\" | sed \"s/.md//\" | grep -v README'\nfi\n```\n\n## Organization\n\nMostly follows: [tldr-pages/tldr](https://github.com/tldr-pages/tldr)\n```\n└── pages\n    ├── custom     (custom/redefined app shortcuts go here)\n        └── APP1.md\n    ├── common     (os agnostic app shortcuts go here)\n        ├── APP2.md\n        └── APP3.md\n    ├── linux      (linux app shortcuts go here)\n    ├── osx        (osx app shortcuts go here)\n    ├── sunos      (sunos app shortcuts go here)\n    ├── windows    (windows app shortcuts go here)\n    └── android    (android app shortcuts go here - probably unused)\n```\n\n## Template\n\nMostly follows: [tldr-pages/tldr](https://github.com/tldr-pages/tldr)\n\nNote: `☐☐` represents 2 spaces for GitHub newline.\n```\n# APP_NAME\n\n\u003e DESCRIPTION☐☐\n\u003e More information: \u003cURL\u003e.\n\n## Optional Section\n|Shortcut|Description|\n|:--|:--|\n|\u003ckbd\u003eKEY1\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003eSHIFT\u003c/kbd\u003e+\u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003eKEY2\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003e1\u003c/kbd\u003e - \u003ckbd\u003e9\u003c/kbd\u003e|Range of functions (skip to chapter 1-9)\n|\u003ckbd\u003eSPACE\u003c/kbd\u003e, \u003ckbd\u003eK\u003c/kbd\u003e|Toggle play/pause (separate keys/same function)|\n\n## Optional Section\n|Shortcut|Description|\n|:--|:--|\n|\u003ckbd\u003eKEY3\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003eSHIFT\u003c/kbd\u003e+\u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003eKEY4\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eRIGHT\u003c/kbd\u003e / \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eLEFT\u003c/kbd\u003e|Previous/Next chapter (consolidate when possible)|\n```\n---\n# APP_NAME\n\n\u003e DESCRIPTION  \n\u003e More information: \u003cURL\u003e.\n\n## Optional Section\n|Shortcut|Description|\n|:--|:--|\n|\u003ckbd\u003eKEY1\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003eSHIFT\u003c/kbd\u003e+\u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003eKEY2\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003e1\u003c/kbd\u003e-\u003ckbd\u003e9\u003c/kbd\u003e|Range of functions (skip to chapter 1-9)\n|\u003ckbd\u003eSPACE\u003c/kbd\u003e, \u003ckbd\u003eK\u003c/kbd\u003e|Toggle play/pause (separate keys/same function)|\n\n## Optional Section\n|Shortcut|Description|\n|:--|:--|\n|\u003ckbd\u003eKEY3\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003eSHIFT\u003c/kbd\u003e+\u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003eKEY4\u003c/kbd\u003e|FUNCTION|\n|\u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eRIGHT\u003c/kbd\u003e / \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eLEFT\u003c/kbd\u003e|Previous/Next chapter (consolidate when possible)|\n---\n\n\n## Acknowledgments\n\n- [chubin/cheat.sh](https://github.com/chubin/cheat.sh)\n- [tldr-pages/tldr](https://github.com/tldr-pages/tldr)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailjeep%2Fkbd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrailjeep%2Fkbd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailjeep%2Fkbd/lists"}