add example of how to grep in the directory of current file.
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.2k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
I've been trying to figure out how to wrangle Grepper w/ something like `%:p:h` to limit grep results to only those that are in the directory (or subdirectories) of the current file.
Still haven't figured it out, but maybe someone else has?
I think this would be a great example to add to https://github.com/mhinz/vim-grepper/wiki/example-configurations-and-mappings
Contributor guide
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
Use the linked wiki page, “example configurations and mappings,” as the documentation entry point. Investigate how `%:p:h` can scope Grepper searches to the current file’s directory and subdirectories, then add a working configuration or mapping example with enough context for users to apply it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100