summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/keys.py8
-rw-r--r--ranger/help/console.py5
-rw-r--r--ranger/help/movement.py20
3 files changed, 29 insertions, 4 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 4dd7f280..29a63df9 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -180,8 +180,8 @@ map('E', fm.edit_file())
 map('du', fm.execute_command('du --max-depth=1 -h | less'))
 
 # -------------------------------------------------- toggle options
-map('z<bg>', fm.hint("show_*h*idden *p*review_files *P*review_dirs " \
-	"*d*irs_first flush*i*nput *m*ouse"))
+map('z<bg>', fm.hint("[*cdfhimpPs*] show_*h*idden *p*review_files "\
+		"*P*review_dirs *f*ilter flush*i*nput *m*ouse"))
 map('zh', fm.toggle_boolean_option('show_hidden'))
 map('zp', fm.toggle_boolean_option('preview_files'))
 map('zP', fm.toggle_boolean_option('preview_directories'))
@@ -190,6 +190,7 @@ map('zd', fm.toggle_boolean_option('sort_directories_first'))
 map('zc', fm.toggle_boolean_option('collapse_preview'))
 map('zs', fm.toggle_boolean_option('sort_case_insensitive'))
 map('zm', fm.toggle_boolean_option('mouse_enabled'))
+map('zf', fm.open_console(cmode.COMMAND, 'filter '))
 
 # ------------------------------------------------------------ sort
 map('o<bg>', 'O<bg>', fm.hint("*s*ize *b*ase*n*ame *m*time" \
@@ -220,7 +221,6 @@ def append_to_filename(arg):
 map('cw', fm.open_console(cmode.COMMAND, 'rename '))
 map('cd', fm.open_console(cmode.COMMAND, 'cd '))
 map('f', fm.open_console(cmode.COMMAND_QUICK, 'find '))
-map('bf', fm.open_console(cmode.COMMAND, 'filter '))
 map('d<bg>', fm.hint('d*u* (disk usage) d*d* (cut)'))
 map('@', fm.open_console(cmode.OPEN, '@'))
 map('#', fm.open_console(cmode.OPEN, 'p!'))
@@ -258,7 +258,7 @@ map('ct', fm.search(order='tag'))
 map('cc', fm.search(order='ctime'))
 map('cm', fm.search(order='mimetype'))
 map('cs', fm.search(order='size'))
-map('c<bg>', fm.hint('*c*time *m*imetype *s*ize'))
+map('c<bg>', fm.hint('*c*time *m*imetype *s*ize *t*ag'))
 
 # ------------------------------------------------------- bookmarks
 for key in ALLOWED_BOOKMARK_KEYS:
diff --git a/ranger/help/console.py b/ranger/help/console.py
index e1aa2d2a..6efc6425 100644
--- a/ranger/help/console.py
+++ b/ranger/help/console.py
@@ -189,6 +189,11 @@ Those two can be combinated:
 !d!@mplayer    will open the selection with a detached mplayer
                (again, this is equivalent to !d!mplayer %s)
 
+This keys open the console with a predefined text:
+	@	"!@"	Good for things like "@mount"
+	#	"!p!"	For commands with output.
+			Note: A plain "!p!" will be translated to "!p!cat %f"
+
 For a list of other flags than "d", check chapter 2.5 of the documentation
 
 
diff --git a/ranger/help/movement.py b/ranger/help/movement.py
index e85bf336..8b52ce8b 100644
--- a/ranger/help/movement.py
+++ b/ranger/help/movement.py
@@ -64,6 +64,15 @@ These keys work like in vim:
 	^B      move up by one screen
 	^F      move down by one screen
 
+This keys can be used to make movements beyond the current directory
+
+	]	move down in the parent directory
+	[	move up in the parent directory
+
+	}	traverse the directory tree, visiting each directory
+	{	traverse in the other direction. (not implemented yet,
+		currently this only moves back in history)
+
 
 ==============================================================================
 1.2. Browser control
@@ -172,5 +181,16 @@ Clicking into the preview window will usually run the file. |2?|
 
 
 ==============================================================================
+1.8 Misc Keys
+
+	^P	Display the message log
+	du	Display the disk usage of the current directory
+	cd	Open the console with ":cd "
+	cw	Open the console with ":rename "
+	A	Open the console with ":rename <current filename>"
+	I	Same as A, put the cursor at the beginning of the filename
+
+
+==============================================================================
 """
 # vim:tw=78:sw=4:sts=8:ts=8:ft=help
vision' href='/akspecs/ranger/blame/doc/pydoc/ranger.applications.html?h=v1.9.3&id=2ca2e862e616eba862ac80f5ee0003d1aa984a32'>^
f07bb12f ^







4c13e1f2 ^

f07bb12f ^
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