{"id":19460455,"url":"https://github.com/haensl/vimdoc","last_synced_at":"2025-10-12T01:09:33.245Z","repository":{"id":145192162,"uuid":"81560145","full_name":"haensl/vimdoc","owner":"haensl","description":"A collection of vim commands \u0026 tricks.","archived":false,"fork":false,"pushed_at":"2018-01-09T12:42:01.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T01:09:32.707Z","etag":null,"topics":["commands","documentation","tricks","vim"],"latest_commit_sha":null,"homepage":null,"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/haensl.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-10T11:44:24.000Z","updated_at":"2017-02-10T11:44:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"74a03f9c-e87a-4629-a429-f5ffdf5afbe0","html_url":"https://github.com/haensl/vimdoc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haensl/vimdoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvimdoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvimdoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvimdoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvimdoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haensl","download_url":"https://codeload.github.com/haensl/vimdoc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haensl%2Fvimdoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009683,"owners_count":26084645,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["commands","documentation","tricks","vim"],"created_at":"2024-11-10T17:37:15.151Z","updated_at":"2025-10-12T01:09:33.227Z","avatar_url":"https://github.com/haensl.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# VIMDOC\n\nA collection of vim commands \u0026 tricks.\n\n### Operate on tags (e.g. `\u003cp\u003e...\u003c/p\u003e`)\n```bash\ncit # (change-in-tag)\ndat # (delete tag and contents)\n```\n\n### View manpage of command under cursor\n```bash\nK # (in command mode)\n```\n\n### Revert document to an earlier/later version\n```bash\n:earlier 15m\n:later 15m\n```\n\n### Dump output of command into current buffer\n```bash\n:.! ls\n```\n\n### To upper-/lowercase\n```bash\nviwu\nviwU\n```\n\n### View changelist\n```bash\n:changes\n```\n\n### Move through changelist\n```bash\ng;\ng,\n```\n\n### Hex mode\n```bash\n:%!xxd\n:%!xxd -r # back to normal mode\n```\n\n### Reselect last visual selection\n```bash\ngv\n```\n\n### Create HTML rendering of current buffer\n```bash\n:%TOhtml\n```\n\n### Open file that's currently under the cursor\n```bash\ngf\ngF # recognises [file name]:[line number]\n```\n\n### Go to last/next position\n```bash\nctrl+o # last\nctrl+i # next\n```\n\n### Autocomplete file name\n```bash\nctrl+x ctrl+f\n```\n\n### Autocomplete line\n```bash\nctrl+x ctrl+l\n```\n\n### Go to shell\n```bash\nctrl+z\nfg # go back to vim\n```\n\n### Autoindent block\n```bash\n=% # place cursor on brace and indent until closing brace\n```\n\n### Paste word under line in command\n```bash\n# with cursor over word\nctrl+r ctrl+w\n```\n\n### Join lines\n```bash\nJ\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaensl%2Fvimdoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaensl%2Fvimdoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaensl%2Fvimdoc/lists"}