about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-14 20:44:07 +0100
committerhut <hut@lavabit.com>2010-01-14 20:44:07 +0100
commit736b864bb05812900774e13dc0b7187b3aa525d4 (patch)
treeb0e594cbc93162c25efce0ab36ec69f41922d712 /ranger
parenta799e0aeb7a73d6e5aec33fe100a9823faa3c91d (diff)
downloadranger-736b864bb05812900774e13dc0b7187b3aa525d4.tar.gz
keys: remove J/K as default binding for half-page-up/down
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/keys.py8
-rw-r--r--ranger/help/movement.py8
2 files changed, 9 insertions, 7 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 3846850e..029ffdeb 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -72,8 +72,8 @@ def initialize_commands(command_list):
 	bind('%', fm.move_pointer_by_percentage(absolute=50))
 	bind(KEY_NPAGE, fm.move_pointer_by_pages(1))
 	bind(KEY_PPAGE, fm.move_pointer_by_pages(-1))
-	bind('J', ctrl('d'), fm.move_pointer_by_pages(0.5))
-	bind('K', ctrl('u'), fm.move_pointer_by_pages(-0.5))
+	bind(ctrl('d'), fm.move_pointer_by_pages(0.5))
+	bind(ctrl('u'), fm.move_pointer_by_pages(-0.5))
 
 	# --------------------------------------------------------- history
 	bind('H', fm.history_go(-1))
@@ -272,8 +272,8 @@ def _base_pager_commands(command_list):
 	bind(KEY_RIGHT, wdg.move_horizontal(relative=4))
 	bind(KEY_NPAGE, wdg.move(relative=1, pages=True))
 	bind(KEY_PPAGE, wdg.move(relative=-1, pages=True))
-	bind('J', ctrl('d'), wdg.move(relative=0.5, pages=True))
-	bind('K', ctrl('u'), wdg.move(relative=-0.5, pages=True))
+	bind(ctrl('d'), wdg.move(relative=0.5, pages=True))
+	bind(ctrl('u'), wdg.move(relative=-0.5, pages=True))
 
 	# ---------------------------------------------------------- others
 	bind('E', fm.edit_file())
diff --git a/ranger/help/movement.py b/ranger/help/movement.py
index 96461652..e5fb8a5e 100644
--- a/ranger/help/movement.py
+++ b/ranger/help/movement.py
@@ -25,13 +25,15 @@
 ==============================================================================
 1.1. Ranger has similar movement keys as vim:
 
+Note: A ^ stands for the Ctrl key.
+
 	k	move up
 	j	move down
 	h	move left (in browser: move one directory up)
 	l	move right (in browser: enter this directory, or run this file)
 
-	K	move half the screen up
-	J	move half the screen down
+	^U	move half the screen up
+	^D	move half the screen down
 	H	in browser: move back in history
 	L	in browser: move forward in history
 
@@ -41,7 +43,7 @@
 
 By prefixing a number, you can give more precise commands, eg:
 
-	2J	move 2 pages down
+	2^D	move 2 pages down
 	5gg	move to the 5th line
 	3h	move 3 characters to the left, or move 3 directories up
 	30%	move to 30% of the screen
66fd4b30cc4c0aa9abcdf64ab7e33a0e9ef3'>fb7e66fd ^
ef790392 ^
94ad882e ^
ef790392 ^

2ec6d1e5 ^
ef790392 ^


420cb686 ^















5852bb94 ^
ef790392 ^

6b64f800 ^

6b64f800 ^
94ad882e ^
4718a77c ^
6b64f800 ^
a9985c33 ^
4718a77c ^
6b64f800 ^
4718a77c ^

6b64f800 ^

a6517ed8 ^

6b64f800 ^


a6517ed8 ^
6b64f800 ^

a6517ed8 ^
6b64f800 ^









f75c7021 ^
6b64f800 ^








03e72be6 ^
f02ca8df ^
420cb686 ^

6b64f800 ^
53e6c50a ^
880bfb78 ^
6b64f800 ^
8950915a ^

a6517ed8 ^
4718a77c ^
880bfb78 ^
6b64f800 ^




d48cfd0f ^

8950915a ^
d48cfd0f ^


8950915a ^
d48cfd0f ^
8950915a ^






d48cfd0f ^

6b64f800 ^


071afeff ^

6b64f800 ^






a6517ed8 ^

071afeff ^

a6517ed8 ^
071afeff ^


a6517ed8 ^

0828df68 ^
a6517ed8 ^

071afeff ^
a6517ed8 ^
071afeff ^
f75c7021 ^
a6517ed8 ^

071afeff ^
a6517ed8 ^
071afeff ^
0828df68 ^
a6517ed8 ^
071afeff ^










071afeff ^






6b64f800 ^

03e72be6 ^



6b64f800 ^







071afeff ^
d33fa1c5 ^
f3901d90 ^
071afeff ^
94ad882e ^
071afeff ^
94ad882e ^
071afeff ^
94ad882e ^
31338623 ^
f3901d90 ^
d33fa1c5 ^
f3901d90 ^
31338623 ^
071afeff ^



03e72be6 ^



03e72be6 ^
94ad882e ^
420cb686 ^
f02ca8df ^



f02ca8df ^
94ad882e ^
420cb686 ^




f3901d90 ^
94ad882e ^
420cb686 ^
87d5bdb9 ^




bccaa722 ^
94ad882e ^

bccaa722 ^
87d5bdb9 ^
94ad882e ^
bccaa722 ^
87d5bdb9 ^



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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270