when I use add this to my .vimrc if type rg &> /dev/null; then export FZF_DEFAULT_COMMAND='rg --files' export FZF_DEFAULT_OPTS='-m --height 50% --border' fi I get errors when reloading vimrc. Anything I'm missing?
This needs to be added to your .bashrc or .zshrc, not your .vimrc!
.bashrc
.zshrc
Hi Wesley Cheek, how about fish shell? i got the error also
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
when I use add this to my .vimrc
if type rg &> /dev/null; then
export FZF_DEFAULT_COMMAND='rg --files'
export FZF_DEFAULT_OPTS='-m --height 50% --border'
fi
I get errors when reloading vimrc. Anything I'm missing?
This needs to be added to your
.bashrcor.zshrc, not your .vimrc!Hi Wesley Cheek, how about fish shell? i got the error also