Can I have multiple configs for a same tool?
- Dominant language
- Vim Script
- Stars
- 1.2k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
Config:
```javascript
let g:grepper = {
\ 'grep': {
\ 'grepprg': 'grep -Rn $* .'
\ },
\ 'grepI': {
\ 'grepprg': 'grep -Rni $* .'
\ },
\ 'grepFile': {
\ 'grepprg': 'grep -Rni $* $.'
\ },
\ 'tools': ['grep', 'grepI', 'grepFile']
\}
```
Then in vim:
to grep case-sensetive
```bash
:Grepper -tool grep -quickfix -highlight
```
to grep case-insensetive
```bash
:Grepper -tool grepI -quickfix -highlight
```
Contributor guide
Research direction
Start with the plugin's handling of the g:grepper configuration and the :Grepper -tool command, using the shown grep, grepI, and grepFile definitions as examples. Determine whether multiple configurations can be selected independently; done means the commands use their respective grepprg settings.
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
- Needs clarification
- Newbie friendliness
- 35/100