kevinhwang91 / rnvimr

Make Ranger running in a floating window to communicate with Neovim via RPC
BSD 3-Clause "New" or "Revised" License
804 stars 17 forks source link

support for RANGER_LOAD_DEFAULT_RC shell env variable #95

Closed aMOPel closed 2 years ago

aMOPel commented 2 years ago

Is your feature request related to a problem? Please describe. https://github.com/ranger/ranger/wiki/Official-User-Guide#configuration-

When RANGER_LOAD_DEFAULT_RC=FALSE is set in the shell, ranger doesn't load the global config. Currently this isn't working in rnvimr as far as i can tell.

Describe the solution you'd like I don't know in what shell you start the ranger process, but it would be great if it read the user shell configuration files. At least ~/.profile.

Minor stuff Also i think the g:rnvimr_ranger_cmd option isn't working. I didn't test it in depth though.

And i struggled with let g:rnvimr_enable_ex = 1 until i realized i was lazyloading rnvimr, which of course made it not work when invoking $ nvim .. You could add that remark to the FAQ in the readme.

Really nice plugin. Thanks for your work.

kevinhwang91 commented 2 years ago

Thanks for your report. Fixed now.

Also i think the g:rnvimr_ranger_cmd option isn't working. I didn't test it in depth though.

I can't reproduce this issue, please open an new issue with mini config.

And i struggled with let g:rnvimr_enable_ex = 1 until i realized i was lazyloading rnvimr, which of course made it not work when invoking $ nvim .. You could add that remark to the FAQ in the readme.

I will add this FAQ with some docs together later.