{"id":17648083,"url":"https://github.com/gpanders/vim-man","last_synced_at":"2026-02-16T19:33:01.145Z","repository":{"id":102162672,"uuid":"174551987","full_name":"gpanders/vim-man","owner":"gpanders","description":"Read man pages in Vim","archived":false,"fork":false,"pushed_at":"2019-03-09T23:19:06.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T07:41:25.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim script","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/gpanders.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":"2019-03-08T14:29:14.000Z","updated_at":"2023-08-23T16:04:03.000Z","dependencies_parsed_at":"2023-07-11T17:00:42.406Z","dependency_job_id":null,"html_url":"https://github.com/gpanders/vim-man","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gpanders/vim-man","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpanders%2Fvim-man","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpanders%2Fvim-man/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpanders%2Fvim-man/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpanders%2Fvim-man/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpanders","download_url":"https://codeload.github.com/gpanders/vim-man/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpanders%2Fvim-man/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275194018,"owners_count":25421441,"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-09-15T02:00:09.272Z","response_time":75,"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":[],"created_at":"2024-10-23T11:16:13.934Z","updated_at":"2026-02-16T19:32:56.118Z","avatar_url":"https://github.com/gpanders.png","language":"Vim script","readme":"# vim-man\n\nRead man pages in vim.\n\n## Note for neovim users\n\nneovim contains an autoloaded implementation of `:Man` already, so this plugin\nis not only unnecessary but will in fact conflict with neovim's native\nimplementation.\n\nIf you use a common config for both vim and neovim, make sure you only load this\nplugin if `has('nvim')` is false.\n\nFor example, you could use the following in your vimrc:\n\n```vim\n\" With vim-plug\nif !has('nvim')\n    Plug 'gpanders/vim-man'\nendif\n\n\" With native vim packages\n\" Place vim-man under ~/.vim/pack/gpanders/opt/, then use:\nif !has('nvim')\n    packadd vim-man\nendif\n```\n\n## Motivation\nThis is a modification of the man ftplugin that is included in Vim, written by\nSungHyun Nam. That ftplugin supplied a `:Man` command that allowed you to find\nand read man pages in vim, but it was not loaded until you first visited a man\npage or you ran `runtime ftplugin/man.vim`. In addition, the plugin did not use\nautoloads so you paid the full price of defining these functions even if\nyou never used the `:Man` command in your vim session.\n\nI simply took SungHyun's file and split it up into three parts: a plugin file\nthat provides the `:Man` command, an autoload file that will only be executed\nwhen you actually use `:Man`, and the ftplugin file to configure vim for reading\nman pages.\n\n## Customization\n\nThis plugin provides two mappings: `\u003cPlug\u003e(ManPreGetPage)` and `\u003cPlug\u003e(ManBS)`.\nThe first allows you to call `:Man` on the word under your cursor. This is\nequivalent to settings `keywordprg=:Man` and using `K`, but allows you to keep\n`keywordprg` to a different value. The second deletes all backspace characters\nin the page.\n\nYou can use these mappings as follows (these are just suggested keys, you can of\ncourse use any mapping you like):\n\n`~/.vimrc`:\n```vim\nnmap \u003cLeader\u003eK \u003cPlug\u003e(ManPreGetPage)\n```\n\n`~/.vim/after/ftplugin/man.vim`:\n```vim\nnmap \u003cbuffer\u003e \u003cLocalLeader\u003eh \u003cPlug\u003e(ManBS)\n```\n\nTo enable folding in man pages, put the following in your `vimrc`:\n```vim\nlet g:ft_man_folding_enable = 1\n```\n\n## Credit\n\nSungHyun Nam did the bulk of the work in creating and writing the man ftplugin\nand the `:Man` command.\n\n## License\n\nDistributed under the same terms as Vim itself. See `:help license`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpanders%2Fvim-man","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpanders%2Fvim-man","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpanders%2Fvim-man/lists"}