{"id":21517277,"url":"https://github.com/farhanmustar/cs.vim","last_synced_at":"2025-03-17T16:27:34.872Z","repository":{"id":129717558,"uuid":"331700812","full_name":"farhanmustar/cs.vim","owner":"farhanmustar","description":"Cheat.sh plugin for vim.","archived":false,"fork":false,"pushed_at":"2022-09-26T23:44:06.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T03:27:13.358Z","etag":null,"topics":["cheat-sh","cheatsheet","cs-vim","cth-sh","vim","vim-plugins"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/farhanmustar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-21T17:22:29.000Z","updated_at":"2022-09-26T15:09:48.000Z","dependencies_parsed_at":"2023-04-12T06:22:03.665Z","dependency_job_id":null,"html_url":"https://github.com/farhanmustar/cs.vim","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/farhanmustar%2Fcs.vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhanmustar%2Fcs.vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhanmustar%2Fcs.vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhanmustar%2Fcs.vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farhanmustar","download_url":"https://codeload.github.com/farhanmustar/cs.vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244067940,"owners_count":20392717,"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":["cheat-sh","cheatsheet","cs-vim","cth-sh","vim","vim-plugins"],"created_at":"2024-11-24T00:40:42.796Z","updated_at":"2025-03-17T16:27:34.846Z","avatar_url":"https://github.com/farhanmustar.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CS.vim\n* Vim plugin to query cheat sheet from [cheat.sh](https://cheat.sh/). This plugin is an alternative to [cheat.sh-vim](https://github.com/dbeniamine/cheat.sh-vim).\n* Do not forget to view ```cheat.sh``` [intro page](https://cheat.sh/:intro) to learn more about it.\n* This plugin make use of ```curl``` application to query information directly from vim. Makesure curl is executable by vim.\n* Execute this command in vim to check:\n  ```vim\n  :echo executable('curl')\n  ```\n\n## Installation\n* Installation using [Vundle.vim](https://github.com/VundleVim/Vundle.vim).\n  ```vim\n  Plugin 'farhanmustar/cs.vim'\n  ```\n\n* Installation using [vim-plug](https://github.com/junegunn/vim-plug).\n  ```vim\n  Plug 'farhanmustar/cs.vim'\n  ```\n\n## Features\n* Add ```:CS``` command to query cheat sheet.\n  ```vim\n  :CS python\n  ```\n* ```:CS``` also have autocomplete that utilize ```:list``` command from cheat.sh.\n* Inside the result buffer there are ```\u003e``` and ```\u003c``` keyboard shortcut to move to next or previous answer.\n* ```\u003cleader\u003ecs```key binding :-\n  * ```normal mode``` - automatically add query for the word under the curso and put you in command mode.\n  * ```visual mode``` - automatically add query for the word highlighted and put you in command mode.\n* space in query is automatically converted to ```+``` as per cheat.sh specification.\n\n## Demo\n![Demo gif](https://github.com/farhanmustar/cs.vim/wiki/demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhanmustar%2Fcs.vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarhanmustar%2Fcs.vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhanmustar%2Fcs.vim/lists"}