summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-30 03:03:54 +0200
committerhut <hut@lavabit.com>2010-04-30 03:03:54 +0200
commitf61895d31e9ef4871be93d91a0bc3dfd6a121cab (patch)
tree819d94d456e2de671824fa5c4395aff9e94db243
parentd9c06cf4b542d321d99ce1c8135417fa845d357b (diff)
downloadranger-f61895d31e9ef4871be93d91a0bc3dfd6a121cab.tar.gz
extended and documented u* key combinations
-rw-r--r--ranger/defaults/keys.py7
-rw-r--r--ranger/help/movement.py1
2 files changed, 6 insertions, 2 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index a6d7eea6..1cfec391 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -162,18 +162,20 @@ map('T', fm.tag_remove())
 
 map(' ', fm.mark(toggle=True))
 map('v', fm.mark(all=True, toggle=True))
-map('V', fm.mark(all=True, val=False))
+map('V', 'uv', fm.mark(all=True, val=False))
 
 # ------------------------------------------ file system operations
 map('yy', 'y<dir>', fm.copy())
 map('dd', 'd<dir>', fm.cut())
-map('ud', fm.uncut())
 map('pp', fm.paste())
 map('po', fm.paste(overwrite=True))
 map('pl', fm.paste_symlink())
 map('p<bg>', fm.hint('press *p* once again to confirm pasting' \
 		', or *l* to create symlinks'))
 
+map('u<bg>', fm.hint("un*y*ank, unbook*m*ark, unselect:*v*"))
+map('ud', 'uy', fm.uncut())
+
 # ---------------------------------------------------- run programs
 map('S', fm.execute_command(os.environ['SHELL']))
 map('E', fm.edit_file())
@@ -274,6 +276,7 @@ for key in ALLOWED_BOOKMARK_KEYS:
 	map("m" + key, fm.set_bookmark(key))
 	map("um" + key, fm.unset_bookmark(key))
 map("`<bg>", "'<bg>", "m<bg>", fm.draw_bookmarks())
+map('um<bg>', fm.hint("delete which bookmark?"))
 
 # ---------------------------------------------------- change views
 map('i', fm.display_file())
diff --git a/ranger/help/movement.py b/ranger/help/movement.py
index 8a4c155a..6e3ad3e1 100644
--- a/ranger/help/movement.py
+++ b/ranger/help/movement.py
@@ -83,6 +83,7 @@ This keys can be used to make movements beyond the current directory
 	^L	redraw the window
 	:	open the console |3?|
 	z	toggle options
+	u	undo certain things (unyank, unmark,...)
 
 	i	inspect the content of the file
 	E	edit the file
k.com> 2020-05-24 22:33:51 -0700 committer Kartik Agaram <vc@akkartik.com> 2020-05-24 22:33:51 -0700 6396' href='/akkartik/mu/commit/html/apps/factorial.subx.html?h=main&id=f92836550b68fa7df077ea8cedbe7aa35a1095f4'>f9283655 ^
60338448 ^
ce2c1efc ^
60338448 ^
ac07e589 ^
ac07e589 ^
ce2c1efc ^
60338448 ^
bb2b6ba7 ^















ce2c1efc ^
bb2b6ba7 ^















c8a3ccbe ^
bb2b6ba7 ^
f9283655 ^
c56d803c ^
1ed1d1c8 ^
ee0e67b9 ^

c56d803c ^




ee0e67b9 ^
c56d803c ^


76733e19 ^





e99038ea ^
b1635a5c ^
bf02a19d ^


4a4a392d ^
bf02a19d ^
ec73ed12 ^

bf02a19d ^
ec73ed12 ^
bf02a19d ^





6070c23e ^
bf02a19d ^





ec73ed12 ^
bf02a19d ^

8aeb85f0 ^

6070c23e ^
bf02a19d ^

604c8315 ^
ec73ed12 ^
282681c7 ^

f9283655 ^
604c8315 ^



86351aaf ^
604c8315 ^

f9283655 ^





2655a4a9 ^
f9283655 ^



ec73ed12 ^
f9283655 ^






ec73ed12 ^
f9283655 ^



ec73ed12 ^
f9283655 ^

ec73ed12 ^
f9283655 ^




86351aaf ^












































ec73ed12 ^
86351aaf ^





bb2b6ba7 ^



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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214