From 83afe266fb34b04263c8616d26d6eb7878cf6c5f Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 11 Feb 2016 21:58:15 +0100 Subject: config.commands: removed defunct "less %f" shortcut this used to do a "!-p cat %f" when you only typed "!-p". Since this is not documented anywhere and currently defunct, I chose to remove the code entirely. --- ranger/config/commands.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 66cb2cc8..f734d64a 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -209,8 +209,6 @@ class shell(Command): flags = '' command = self.rest(1) - if not command and 'p' in flags: - command = 'cat %f' if command: self.fm.execute_command(command, flags=flags) -- cgit 1.4.1-2-gfad0