Add this line in your .bashrc
export MANPAGER='vim +Man!'
Run this line below. This will copy the default config files for ranger into your ~/.config/ranger/””
ranger --copy-config=all