Set Environment Variables in Vim

Sometimes, we want to set an environment variable in Vim without contaminating the environment variable in our system.

You can try setting it only in .vimrc like below.

1
let $FZF_DEFAULT_COMMAND = 'rg --files'