9

GitHub - kyoh86/vim-ripgrep: A plugin for Vim8/Neovim to search text by ripgrep...

 3 years ago
source link: https://github.com/kyoh86/vim-ripgrep
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

ripgrep.vim

A plugin for Vim8/Neovim to search text by ripgrep (rg).

What's different from jremmen/vim-ripgrep?

  • Calling ripgrep asynchronously.
    • Even if it finds a lot of matches, editor won't freeze.
    • Exception in case of Neovim on Windows.
  • There's no default command.
    • You can create a command with name what you like.
  • Observability.
    • You can add observer for each event in searching process.

USAGE

For more details: :help ripgrep.txt

FUNCTION

:call ripgrep#search('-w --ignore-case foo')

CONFIG

You can create a command to call the function with a name you like. For example:

Plug "kyoh86/vim-ripgrep",
command! -nargs=* -complete=file Ripgrep :call ripgrep#search(<q-args>)

LICENSE

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

  • autoload/ripgrep/job.vim is from async.vim and some patch.

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK