summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-11-09 16:04:44 +0100
committerhut <hut@lavabit.com>2011-11-09 16:04:44 +0100
commitdf95694991dd2387f02638df048805985c5b3461 (patch)
treea669a8d4db3552eeb02f6293e9f47344923d5f39
parent7b33b517e5105303b78b05a8970d9718a5b5135c (diff)
downloadranger-df95694991dd2387f02638df048805985c5b3461.tar.gz
Disable visual mode when typing "v"
-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 77f064f2..d3f74e5c 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -536,6 +536,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 				cwd.toggle_all_marks()
 			else:
 				cwd.mark_all(val)
+			if self.mode == 'visual':
+				self.change_mode('normal')
 		else:
 			for i in range(cwd.pointer, min(cwd.pointer + narg, len(cwd))):
 				item = cwd.files[i]