Vim plugin for using cppman
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
I wanted to use cppman from within an existing VIM instance rather than launching a new vim instance pager. Your existing script for the vim-pager provides most of the necessary parts, but some things had to be changed. I created a small plugin, heavily based on your script, for this purpose: https://github.com/gauteh/vim-cppman
It sets itself up whenver C++ or C files are opened so that keywordprg and iskeyword settings utilize cppman. The keywordprg sets up a new vert buffer which loads cppman in the same way as cppman.vim does.
Perhaps this should rather be included in cppman as a vim plugin? A few other modifications I had to make: use winwidth(0) rather than &co. Only load when for C++.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the linked vim-cppman plugin with the existing vim-pager script and cppman.vim behavior. Check how the plugin configures keywordprg and iskeyword for C and C++ buffers and opens cppman in a vertical buffer. Done means the functionality is integrated into cppman and works from an existing Vim session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100