Skip to content

The only grep in Vim that I need...

License

Notifications You must be signed in to change notification settings

itchyny/vim-grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-grep CI Status

Example configuration

nnoremap gr :<C-u>Grep<Space>
nnoremap <silent> K :<C-u>Grep<CR>
vnoremap <silent> K :Grep<CR>

Example features (the result is set in the location list)

" 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.

About

The only grep in Vim that I need...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published