At the moment I am constantly changing the rc.conf
and rifle.conf
files, but every time I want to test the new configuration I need to exit ranger and start again.
Is there a solution for this?
In vim I use :source ~/.vimrc
to reload the configuration file, but this doesn't work in ranger.
Best Answer
Here is a tricky way to do this, and this may not always work if they change their code (and there could be cases where restarting
ranger
is better/safer).rc.conf
In
ranger
, assuming you have a customrc.conf
in~/.config/ranger/rc.conf
, type:I tested this by changing
set draw_borders true/false
in~/.config/ranger/rc.conf
.rifle.conf
In
ranger
, assuming you have a customrifle.conf
in~/.config/ranger/rifle.conf
, type:Note that this was tested with the latest Git commits.