summary refs log tree commit diff stats
path: root/examples/plugin_skip_default_rc.py
blob: 6a657a990ef0492d519514860f53d969a35bf903 (plain) (blame)
1
2
3
4
5
6
7
8
9
# This plugin inhibits the loading of the default rc.conf.  This serves to
# speed up starting time by avoiding to load rc.conf twice if you have a full
# copy of it in ~/.config/ranger.
#
# Don't use this if you have a supplementary rc.conf or no rc.conf at all, or
# you will end up without key bindings and options.

import ranger.core.main
ranger.core.main.load_default_config = False