summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/main.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index 5a7b32af..6ebe4468 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -80,14 +80,13 @@ def main():
 
 		if arg.list_unused_keys:
 			from ranger.ext.keybinding_parser import special_keys
-			tree = EnvironmentAware.env.keymanager.get_context('browser')
-			tree.merge(tree.directions)
+			maps = fm.env.keymaps['browser']
 			reversed_special_keys = dict((v,k) for k,v in special_keys.items())
 			for key in sorted(special_keys.values()):
-				if key not in tree._tree:
+				if key not in maps:
 					print("<%s>" % reversed_special_keys[key])
-			for key in range(33, 128):
-				if key not in tree._tree:
+			for key in range(33, 127):
+				if key not in maps:
 					print(chr(key))
 			return 1 if arg.fail_unless_cd else 0
 
ef='#n77'>77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138