mhinz / mhinz/vim-grepper

Allow to define query as positional argument

Open
#228 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
1.2k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Currently in my configuration I setup `let g:grepper = { 'prompt': 0 }` and mapping `nnoremap / :Grepper -query `. It would be really nice if I could drop the `-query` part from mapping (i.e. allow query to be accepted as positional argument to `:Grepper`, e.g. `:Grepper foobar`. This could be available as default or an option. Thank you!

Contributor guide

Open the contributing guide

Research direction

Start by tracing the :Grepper command and how its current -query argument is parsed, using the example mapping and g:grepper configuration in the issue as the expected entry points. Done means :Grepper foobar accepts foobar as the query, while the existing -query form continues to work or the chosen default or option is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.