vim-ripgrep icon indicating copy to clipboard operation
vim-ripgrep copied to clipboard

macOS 10.13 or MacVim related issue

Open pirminis opened this issue 7 years ago • 1 comments

On macOS 10.13 and MacVim 8.0.1155 (137) vim-ripgrep has changed behaviour.

The old correct way to search:

:Rg "search_term"

results are found and (optionally) highlighted.

The current situation:

:Rg "search_term"

MacVim hangs up. So I use this, and it works:

:Rg "search_term" .

results are found, however, the highlighting pattern is not "search_term" anymore, but "search_term .", hence wrong highlighting is used.

can you help me find out why has vim-ripgrep behaviour changed after updating from macOS 10.12 to 10.13? or is it MacVim's problem? reverting MacVim doesn't do the trick, so that's that.

command line vim (8.0) does not have this issue.

relevant .vimrc rg configuration:

let g:rg_binary = "/usr/local/bin/rg"
let g:rg_highlight = 1
let g:rg_format = "%f:%l:%c:%m"
let g:rg_command = g:rg_binary . " --vimgrep --follow -i -j1 -e"
let g:rg_derive_root = 1

oh, btw, :RgRoot shows correct directory.

@jremmen

pirminis avatar Sep 29 '17 08:09 pirminis

@pirminis Did you find a solution to the problem?

jremmen avatar Mar 12 '18 03:03 jremmen