summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-05-07 18:13:39 +0200
committerhut <hut@lepus.uberspace.de>2015-05-07 18:13:39 +0200
commit7270687e19a790d539dc40465d58aa4c6bb3aead (patch)
tree763b615339acd869424d18757a4aded5a450972c /doc
parent8c295f64ffcdfed6196bd359f2636a0cfa366052 (diff)
downloadranger-7270687e19a790d539dc40465d58aa4c6bb3aead.tar.gz
doc/cheatsheet.svg: added text about commands
Diffstat (limited to 'doc')
-rw-r--r--doc/cheatsheet.svg94
1 files changed, 94 insertions, 0 deletions
diff --git a/doc/cheatsheet.svg b/doc/cheatsheet.svg
index 157d42d8..352ed33e 100644
--- a/doc/cheatsheet.svg
+++ b/doc/cheatsheet.svg
@@ -4528,5 +4528,99 @@
          style="font-size:15px"><tspan
    style="font-weight:bold"
    id="tspan5683">#ranger</tspan> on irc.freenode.net</tspan></text>
+    <rect
+       style="fill:#e6e6e6;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect5634-3"
+       width="689"
+       height="173.99998"
+       x="430.5"
+       y="872.86224"
+       rx="2.1094199e-15"
+       ry="1.0269601e-15" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:125%;font-family:Sans;-inkscape-font-specification:'Sans, Normal';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="434.37744"
+       y="886.85925"
+       id="text5541-2"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         x="434.37744"
+         y="886.85925"
+         style="font-weight:normal;font-size:12.5px"
+         id="tspan4932"><tspan
+   id="tspan4923"
+   style="font-weight:bold;font-size:12.5px">Commands</tspan> can be typed in by pressing : or added to ~/.config/ranger/rc.conf to apply then whenever</tspan><tspan
+         sodipodi:role="line"
+         x="434.37744"
+         y="902.48425"
+         style="font-weight:normal;font-size:12.5px"
+         id="tspan4931">ranger starts. All commands are listed in the man page. Some important ones:</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:125%;font-family:Sans;-inkscape-font-specification:'Sans, Normal';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="434.66431"
+       y="918.36206"
+       id="text5776-0"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="918.36206"
+         style="font-weight:bold;font-size:12.5px"
+         id="tspan5864-8">:shell [&lt;flags&gt;] &lt;command&gt;<tspan
+   style="font-weight:normal"
+   id="tspan4899"> calls the given &lt;command&gt; with the shell specified in the environment</tspan></tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="933.98706"
+         style="font-weight:normal;font-size:12.5px"
+         id="tspan4907">variable $SHELL. &lt;flags&gt; can be &quot;-f&quot; to fork the process or &quot;-p&quot; to pipe the output to a pager. Macros like</tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="949.61206"
+         style="font-weight:normal;font-size:12.5px"
+         id="tspan4905">%f and %s are especially useful here. Example: &quot;:shell -f inkscape %f&quot; or &quot;:shell sudo cp %c ./&quot;</tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="965.23706"
+         style="font-size:12.5px"
+         id="tspan4895"><tspan
+   style="font-weight:bold"
+   id="tspan4897">:alias &lt;new&gt; &lt;old&gt;</tspan> creates the command &lt;new&gt; that calls &lt;old&gt;. The neat thing is that you can pass</tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="980.86206"
+         style="font-size:12.5px"
+         id="tspan4935">arguments to the next command. Example: &quot;:alias <tspan
+   style="fill:#ff0000"
+   id="tspan5100">touch</tspan><tspan
+   style="fill:#0000ff"
+   id="tspan5108"> shell touch</tspan>&quot; will allow you to type &quot;:<tspan
+   style="fill:#ff0000"
+   id="tspan5114">touch</tspan> FILE&quot;,</tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="996.48706"
+         style="font-size:12.5px"
+         id="tspan5116">which will be translated to &quot;:<tspan
+   style="fill:#0000ff"
+   id="tspan5118">shell touch</tspan> FILE&quot;.</tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="1012.1121"
+         style="font-size:12.5px"
+         id="tspan4915"><tspan
+   style="font-weight:bold"
+   id="tspan4933">:map &lt;key&gt; &lt;command&gt;</tspan> makes the &lt;key&gt; run &lt;command&gt; when pressed. This is the typical way to</tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="1027.7371"
+         style="font-size:12.5px"
+         id="tspan4917">define key bindings in rc.conf. There is also &quot;pmap&quot; to define keys in the pager and &quot;unmap&quot; and &quot;punmap&quot;</tspan><tspan
+         sodipodi:role="line"
+         x="434.66431"
+         y="1043.3621"
+         style="font-size:12.5px"
+         id="tspan4924">to remove key bindings.</tspan></text>
   </g>
 </svg>
ace.mu?h=hlt&id=a90faae99043042ec5e2d0de21b7dbe0eba29e3a'>a90faae9 ^
294b2ab3 ^
6f65d591 ^
55479bc2 ^
a90faae9 ^


dd30f56d ^
294b2ab3 ^

898f03cc ^
294b2ab3 ^
71056d61 ^
a90faae9 ^

dd30f56d ^
71056d61 ^
ceeb92d4 ^
71056d61 ^


a90faae9 ^


dd30f56d ^
a90faae9 ^

294b2ab3 ^
55479bc2 ^
a90faae9 ^


dd30f56d ^
294b2ab3 ^

898f03cc ^
294b2ab3 ^
ceeb92d4 ^
71056d61 ^
a90faae9 ^



6f65d591 ^
e00d4854 ^
dd30f56d ^
a90faae9 ^
294b2ab3 ^








6d12a8c4 ^
a90faae9 ^
a90faae9 ^


294b2ab3 ^
a90faae9 ^
dd30f56d ^
294b2ab3 ^

898f03cc ^
294b2ab3 ^

ceeb92d4 ^
71056d61 ^
a90faae9 ^
fa94f4d9 ^
a90faae9 ^
dd30f56d ^
a90faae9 ^

294b2ab3 ^
a90faae9 ^
fa94f4d9 ^
a90faae9 ^
dd30f56d ^
294b2ab3 ^

898f03cc ^
294b2ab3 ^

71056d61 ^

ceeb92d4 ^
71056d61 ^
9c2421ec ^



6f65d591 ^
9c2421ec ^

294b2ab3 ^


6d12a8c4 ^
9c2421ec ^
9c2421ec ^



294b2ab3 ^
9c2421ec ^

71056d61 ^
ceeb92d4 ^
898f03cc ^
71056d61 ^

9c2421ec ^





294b2ab3 ^
9c2421ec ^



71056d61 ^
ceeb92d4 ^
898f03cc ^
71056d61 ^

a90faae9 ^


2d91279b ^
e2b367dc ^
3d8b137c ^
b4bccf49 ^


2d91279b ^
b4bccf49 ^
350ca0c6 ^
ea19d0dc ^
3d8b137c ^
ea5e7fd4 ^


b4bccf49 ^

a90faae9 ^

fa94f4d9 ^
a90faae9 ^
3d8b137c ^


a90faae9 ^
2d91279b ^
a90faae9 ^
3d8b137c ^


a90faae9 ^

2d91279b ^
a90faae9 ^

3d8b137c ^
ea5e7fd4 ^

4e7186fa ^
ea5e7fd4 ^
ada5eb55 ^
a90faae9 ^


2d91279b ^
a90faae9 ^
350ca0c6 ^
a90faae9 ^
350ca0c6 ^
3d8b137c ^

a90faae9 ^


2d91279b ^
a90faae9 ^
3d8b137c ^

a90faae9 ^




3d8b137c ^




a90faae9 ^

1ead3562 ^
a90faae9 ^
1ead3562 ^
a90faae9 ^




3d8b137c ^
a90faae9 ^
ea19d0dc ^
a90faae9 ^
afdda1ea ^
a90faae9 ^
8beff53e ^
a90faae9 ^
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