From 8bd314b8fead489482dc68a089757f725e688af5 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 6 Feb 2013 02:11:17 +0100 Subject: config/commands: sort settings when using TAB on ":set " --- ranger/config/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit 1.4.1-2-gfad0