about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 3382b7b1..297de576 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -612,6 +612,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 					elif exit == 1:
 						data[(-1, -1)] = None
 						data['foundpreview'] = False
+					elif exit == 2:
+						data[(-1, -1)] = open(path, 'r').read(1024 * 32)
 					else:
 						data[(-1, -1)] = None
 					if self.env.cf.realpath == path: