diff options
author | hut <hut@hut.pm> | 2017-12-12 20:03:50 +0100 |
---|---|---|
committer | hut <hut@hut.pm> | 2017-12-12 20:03:50 +0100 |
commit | face63d7e726ab2ed5b5acb0c80dcbd42371802f (patch) | |
tree | 3801af089f2ed0923b8bbdc306d5023d3c60a0c6 | |
parent | 4bbe05f9ac273ed88ec5a53374d2052e9d481b46 (diff) | |
download | ranger-face63d7e726ab2ed5b5acb0c80dcbd42371802f.tar.gz |
core.actions: reload rifle config on fm.reset() / Ctrl+R
-rw-r--r-- | ranger/core/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 5f8f6c53..e875aca3 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -64,7 +64,7 @@ class Actions( # pylint: disable=too-many-instance-attributes,too-many-public-m def reset(self): """:reset - Reset the filemanager, clearing the directory buffer. + Reset the filemanager, clearing the directory buffer, reload rifle config """ old_path = self.thisdir.path self.previews = {} @@ -73,6 +73,7 @@ class Actions( # pylint: disable=too-many-instance-attributes,too-many-public-m self.change_mode('normal') if self.metadata: self.metadata.reset() + self.rifle.reload_config() def change_mode(self, mode=None): """:change_mode <mode> |