https://github.com/coot/vim-man
Simple man plugin for vim
https://github.com/coot/vim-man
man-pages vim-plugin
Last synced: 4 months ago
JSON representation
Simple man plugin for vim
- Host: GitHub
- URL: https://github.com/coot/vim-man
- Owner: coot
- License: mpl-2.0
- Created: 2020-01-18T11:17:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-24T09:24:02.000Z (over 4 years ago)
- Last Synced: 2025-06-13T11:08:42.589Z (12 months ago)
- Topics: man-pages, vim-plugin
- Language: Vim script
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple vim MAN plugin
It defines the following commands:
```viml
:Man 2,7 socket " open socket socket man page in chapter 2 or 7 (one can use
" completion to choose the right man page); it will re-use
" current buffer if it was a man page scratch buffer.
:Man socket.2 " the same (but one can only specify single chapter)
:SMan ... " open in a new window (like :new)
:VMan ... " open in a new window (like :vnew)
:OMan ... " open in a new window and use :only
```
You can set the max man width with `g:man_maxwidth` (by default it is not set).
All commands come with completion, which is driven by `man -k`.