junegunn / fzf.vim

fzf :heart: vim
MIT License
9.55k stars 583 forks source link

Neovim packer fzf config - apple silicon #1413

Open lantos1618 opened 2 years ago

lantos1618 commented 2 years ago

Works with minimal version

vim -Nu <(curl https://gist.githubusercontent.com/junegunn/6936bf79fedd3a079aeb1dd2f3c81ef5/raw)

issue: :Rg does not work as fzf.vim doesn't find Rg

Issue comes from mac silicon installing fzf and rg under the following dirs when using brew install

return require("packer").startup(function(use)
    -- Packer can manage itself
    use("wbthomason/packer.nvim")

    use("junegunn/fzf.vim")

end)

^ works for just :FZF

How can I specify the Rg dir?