Eric's Blog 时光荏苒,岁月如梭

FlyGrep.vim


Asynchronously fly grep in vim

This plugin is automatically detach from SpaceVim. you can use it without SpaceVim.

searching project

Install

for dein.vim

call dein#add('https://wsdjeg.net/git/FlyGrep.vim/')

for vim-plug

Plug 'https://wsdjeg.net/git/FlyGrep.vim/'

usage

:FlyGrep

you also can define custom mapping, for example:

nnoremap <Space>s/ :FlyGrep<cr>
Key Binding Description
SPC s / Searching in project on the fly with default tools

key binding in FlyGrep buffer:

Key Binding Description
<Esc> close FlyGrep buffer
<C-c> close FlyGrep buffer
<Enter> open file at the cursor line
<Tab> move cursor line down
<C-j> move cursor line down
<S-Tab> move cursor line up
<C-k> move cursor line up
<Bs> remove last character
<C-w> remove the Word before the cursor
<C-u> remove the Line before the cursor
<C-k> remove the Line after the cursor
<C-a>/<Home> Go to the beginning of the line
<C-e>/<End> Go to the end of the line
目录