diff options
author | hut <hut@lavabit.com> | 2011-11-09 16:04:44 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-11-09 16:04:44 +0100 |
commit | df95694991dd2387f02638df048805985c5b3461 (patch) | |
tree | a669a8d4db3552eeb02f6293e9f47344923d5f39 /ranger | |
parent | 7b33b517e5105303b78b05a8970d9718a5b5135c (diff) | |
download | ranger-df95694991dd2387f02638df048805985c5b3461.tar.gz |
Disable visual mode when typing "v"
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 2 |
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] |