An open API service indexing awesome lists of open source software.

https://github.com/itchyny/vim-grep

The only grep in Vim that I need...
https://github.com/itchyny/vim-grep

vim vim-plugin vim-script

Last synced: 5 months ago
JSON representation

The only grep in Vim that I need...

Awesome Lists containing this project

README

          

# vim-grep [![CI Status](https://github.com/itchyny/vim-grep/workflows/CI/badge.svg)](https://github.com/itchyny/vim-grep/actions)
Example configuration
```vim
nnoremap gr :Grep
nnoremap K :Grep
vnoremap K :Grep
```

Example features (the result is set in the location list)
```vim
" git grep function (with grep command fallback outside of a git repository)
:Grep function

" grep at the current directory
:Grep function .

" grep from the other git repository
:Grep function ~/vim/grep/

" grep with the word under the cursor
:Grep

" grep with the selected text in the visual mode
:'<'>Grep
```

## Installation
Install with your favorite plugin manager.

## Author
itchyny (https://github.com/itchyny)

## License
This software is released under the MIT License, see LICENSE.