summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 2ba696ac..67223258 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -97,9 +97,11 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
             return value.split(',')
         raise ValueError("Invalid value `%s' for option `%s'!" % (name, value))
 
-    def toggle_visual_mode(self, reverse=False):
+    def toggle_visual_mode(self, reverse=False, narg=None):
         if self.mode == 'normal':
             self._visual_reverse = reverse
+            if narg != None:
+                self.mark_files(val=not reverse, narg=narg)
             self.change_mode('visual')
         else:
             self.change_mode('normal')
it/src/chat_state.h?id=e8fc80f5c1bf30585483d4dd1c27aae620862066'>e8fc80f5 ^
c16871d1 ^














9cff3735 ^

c16871d1 ^










a2726b6a ^

c16871d1 ^
a2726b6a ^
c16871d1 ^


a2726b6a ^
c16871d1 ^
8d8f2f29 ^


a2726b6a ^



c16871d1 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66