summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-07 09:39:01 +0200
committerhut <hut@lavabit.com>2010-05-10 21:03:39 +0200
commitc2179805200ef1f9ebe41b6730c98dbe948a0346 (patch)
treea5a722e172db47975b18bef68779bc4dc38d8ccd
parent7399ac4642328e5e281c45233062945e26df6a26 (diff)
downloadranger-c2179805200ef1f9ebe41b6730c98dbe948a0346.tar.gz
added <C-P> and <C-N> keys to console
-rw-r--r--ranger/defaults/keys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 71d17dd6..b0db8602 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -361,8 +361,8 @@ map = keymanager.get_context('console')
 map.merge(global_keys)
 map.merge(readline_aliases)
 
-map('<up>', wdg.history_move(-1))
-map('<down>', wdg.history_move(1))
+map('<up>', '<C-P>', wdg.history_move(-1))
+map('<down>', '<C-N>', wdg.history_move(1))
 map('<home>', wdg.move(right=0, absolute=True))
 map('<end>', wdg.move(right=-1, absolute=True))
 map('<tab>', wdg.tab())
id='n14' href='#n14'>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