diff options
author | hut <hut@lavabit.com> | 2013-02-06 02:11:17 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-06 02:11:17 +0100 |
commit | 8bd314b8fead489482dc68a089757f725e688af5 (patch) | |
tree | ea596b0deb29852e806173302b7cd33301f8beea /ranger | |
parent | b11e6ec0ea2376dfd56da65e4931e1cfa355937d (diff) | |
download | ranger-8bd314b8fead489482dc68a089757f725e688af5.tar.gz |
config/commands: sort settings when using TAB on ":set "
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/config/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index fa4f1ec6..9095a093 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -398,7 +398,7 @@ class set_(Command): name, value, name_done = self.parse_setting_line() settings = self.fm.settings if not name: - return (self.firstpart + setting for setting in settings) + return sorted(self.firstpart + setting for setting in settings) if not value and not name_done: return (self.firstpart + setting for setting in settings \ if setting.startswith(name)) |