summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-11 22:45:24 +0100
committerhut <hut@lavabit.com>2010-03-12 00:46:47 +0100
commit5c692d0f2ef9d5e5ae5bbfa56282e852753c74b7 (patch)
tree63ce26bbceaea8f35a82d1869804b7d932483254
parente8c3b58065d90cf28f97941768f9787239b19d04 (diff)
downloadranger-5c692d0f2ef9d5e5ae5bbfa56282e852753c74b7.tar.gz
ranger.commands: added e=edit alias to make :e unambiguous.
It previously collided with :eval
-rw-r--r--ranger/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/commands.py b/ranger/commands.py
index 6438d20b..834e358b 100644
--- a/ranger/commands.py
+++ b/ranger/commands.py
@@ -470,3 +470,5 @@ def get_command(name, abbrev=True):
 def command_generator(start):
 	return (cmd + ' ' for cmd in by_name if cmd.startswith(start))
 
+alias(e=edit)  # to make :e unambiguous.
+
'>126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167