Blame


1 bba111bc 2021-03-28 op .\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
2 bba111bc 2021-03-28 op .\"
3 bba111bc 2021-03-28 op .\" Permission to use, copy, modify, and distribute this software for any
4 bba111bc 2021-03-28 op .\" purpose with or without fee is hereby granted, provided that the above
5 bba111bc 2021-03-28 op .\" copyright notice and this permission notice appear in all copies.
6 bba111bc 2021-03-28 op .\"
7 bba111bc 2021-03-28 op .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 bba111bc 2021-03-28 op .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 bba111bc 2021-03-28 op .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 bba111bc 2021-03-28 op .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 bba111bc 2021-03-28 op .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 bba111bc 2021-03-28 op .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 bba111bc 2021-03-28 op .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 73389b00 2021-10-08 op .Dd $Mdocdate: October 8 2021$
15 bba111bc 2021-03-28 op .Dt TELESCOPE 1
16 bba111bc 2021-03-28 op .Os
17 bba111bc 2021-03-28 op .Sh NAME
18 bba111bc 2021-03-28 op .Nm telescope
19 a19dd818 2021-08-03 op .Nd multi-protocol browser
20 bba111bc 2021-03-28 op .Sh SYNOPSIS
21 bba111bc 2021-03-28 op .Nm
22 bba111bc 2021-03-28 op .Bk -words
23 d0971653 2021-09-15 op .Op Fl ChnSv
24 c92e529c 2021-06-15 op .Op Fl c Pa config
25 bba111bc 2021-03-28 op .Op Ar URL
26 bba111bc 2021-03-28 op .Ek
27 bba111bc 2021-03-28 op .Sh DESCRIPTION
28 bba111bc 2021-03-28 op .Nm
29 a19dd818 2021-08-03 op is an interactive browser that supports the Finger, Gemini and Gopher
30 a19dd818 2021-08-03 op protocols.
31 bba111bc 2021-03-28 op .Nm
32 a19dd818 2021-08-03 op features tabs, a minibuffer, interactive completions, bookmarks and
33 a19dd818 2021-08-03 op out-of-band TOFU verification.
34 c92e529c 2021-06-15 op .Pp
35 c92e529c 2021-06-15 op The arguments are as follows:
36 dc761924 2021-07-15 op .Bl -tag -width xxxxxxxxxxxxx
37 97870a34 2021-07-15 op .It Fl C , Fl -colors
38 97870a34 2021-07-15 op Show all available colors and exit.
39 c92e529c 2021-06-15 op .It Fl c Pa config
40 c92e529c 2021-06-15 op Specify an alternative configuration file.
41 c92e529c 2021-06-15 op By default
42 eb2ed626 2021-10-07 op .Pa $HOME/.config/telescope/config
43 c92e529c 2021-06-15 op is loaded.
44 ccc5591f 2021-07-15 op .It Fl h , Fl -help
45 ccc5591f 2021-07-15 op Display version and usage.
46 ccc5591f 2021-07-15 op .It Fl n
47 ccc5591f 2021-07-15 op Configtest mode.
48 ccc5591f 2021-07-15 op Only check the configuration file for validity.
49 d0971653 2021-09-15 op .It Fl S , Fl -safe
50 d0971653 2021-09-15 op .Dq Safe
51 d0971653 2021-09-15 op .Pq or Dq sandbox
52 d0971653 2021-09-15 op mode.
53 d0971653 2021-09-15 op Prevent
54 d0971653 2021-09-15 op .Nm
55 d34a1873 2021-09-15 op from writing files to the disk and to acquire the lock, allowing to
56 d34a1873 2021-09-15 op run multiple instances at the same time.
57 d34a1873 2021-09-15 op .Nm
58 d34a1873 2021-09-15 op still loads the session file and the custom about pages.
59 dc761924 2021-07-15 op .It Fl v , Fl -version
60 dc761924 2021-07-15 op Display version.
61 c92e529c 2021-06-15 op .El
62 7ee780fa 2021-07-21 op .Sh UI CONCEPTS
63 7ee780fa 2021-07-21 op .Nm
64 7ee780fa 2021-07-21 op interface is divided into four areas: the tabline, the body, the
65 7ee780fa 2021-07-21 op modeline and the echoarea/minibuffer.
66 7ee780fa 2021-07-21 op .Pp
67 7ee780fa 2021-07-21 op The tabline is always at the top of the screen and displays the tabs
68 7ee780fa 2021-07-21 op separated by a vertical line.
69 7ee780fa 2021-07-21 op When there are more tabs than the size of the window allow to display,
70 7ee780fa 2021-07-21 op the characters
71 7ee780fa 2021-07-21 op .Sq \&<
72 7ee780fa 2021-07-21 op or
73 7ee780fa 2021-07-21 op .Sq \&>
74 7ee780fa 2021-07-21 op are shown at the start/end of the tabline to indicate that there are
75 7ee780fa 2021-07-21 op more tabs in that direction.
76 7ee780fa 2021-07-21 op .Pp
77 7ee780fa 2021-07-21 op The body occupies the majority of the visible area.
78 7ee780fa 2021-07-21 op It contains the current page and optionally a side window.
79 7ee780fa 2021-07-21 op .Pp
80 7ee780fa 2021-07-21 op The modeline is the second to last row of the screen.
81 7ee780fa 2021-07-21 op It shows some information about the page: a spinner when the page is
82 7ee780fa 2021-07-21 op loading, the trust level, the document type, the scroll offset and the
83 7ee780fa 2021-07-21 op URL.
84 7ee780fa 2021-07-21 op .Pp
85 7ee780fa 2021-07-21 op The echoarea is usually the last line of the screen.
86 7ee780fa 2021-07-21 op Messages are often showed there, and link addresses too.
87 7ee780fa 2021-07-21 op The echoarea is also used to obtain input from the user.
88 7ee780fa 2021-07-21 op When commands like
89 7ee780fa 2021-07-21 op .Ic swiper
90 7ee780fa 2021-07-21 op or
91 7ee780fa 2021-07-21 op .Ic link-select
92 9eb0c887 2021-08-03 op are invoked, the minibuffer area grows to show possible completions.
93 bba111bc 2021-03-28 op .Sh TOFU
94 bba111bc 2021-03-28 op .Nm
95 7ee780fa 2021-07-21 op aims to use the
96 7ee780fa 2021-07-21 op .Dq Trust, but Verify Pq where appropriate
97 7ee780fa 2021-07-21 op approach for
98 7ee780fa 2021-07-21 op TOFU
99 7ee780fa 2021-07-21 op .Pq Dq Trust On First Use .
100 bba111bc 2021-03-28 op The idea is to define three level of verification for a certificate:
101 bba111bc 2021-03-28 op .Bl -tag -width 12m
102 bba111bc 2021-03-28 op .It untrusted
103 7ee780fa 2021-07-21 op .Pq Sq \&!
104 7ee780fa 2021-07-21 op the server fingerprint does NOT match the stored value.
105 bba111bc 2021-03-28 op .It trusted
106 7ee780fa 2021-07-21 op .Pq Sq v
107 7ee780fa 2021-07-21 op the server fingerprint matches the store one.
108 bba111bc 2021-03-28 op .It verified
109 7ee780fa 2021-07-21 op .Pq Sq V
110 7ee780fa 2021-07-21 op the fingerprint matches and has been verified out-of-band.
111 bba111bc 2021-03-28 op .El
112 bba111bc 2021-03-28 op .Pp
113 7ee780fa 2021-07-21 op The trust level of the page is indicated in the modeline with the
114 7ee780fa 2021-07-21 op indicated character.
115 7ee780fa 2021-07-21 op .Pp
116 bba111bc 2021-03-28 op Most of the time the
117 bba111bc 2021-03-28 op .Dq trusted
118 bba111bc 2021-03-28 op level is enough, but where is appropriate users should be able to
119 bba111bc 2021-03-28 op verify out-of-band the certificate.
120 bba111bc 2021-03-28 op .Pp
121 bba111bc 2021-03-28 op At the moment, there is no built-in support for an out-of-band
122 bba111bc 2021-03-28 op verification though.
123 f1279523 2021-08-13 op .Sh SUPPORTED PROTOCOLS
124 f1279523 2021-08-13 op The following protocols are supported:
125 f1279523 2021-08-13 op .Bl -tag -width gemini://
126 f1279523 2021-08-13 op .It about:
127 f1279523 2021-08-13 op About pages are
128 4a52e6fe 2021-08-03 op .Nm
129 f1279523 2021-08-13 op internal page.
130 f1279523 2021-08-13 op See about:about for a list of all these pages.
131 f1279523 2021-08-13 op .It file://
132 f1279523 2021-08-13 op File types know to
133 f1279523 2021-08-13 op .Nm ,
134 f1279523 2021-08-13 op such as .gmi, .gemini, .txt, .md, .markdown, .diff or .patch, can be
135 f1279523 2021-08-13 op viewed inside the application.
136 f1279523 2021-08-13 op Types of local files are detected solely based on the file extension.
137 f1279523 2021-08-13 op On some systems, such as
138 f1279523 2021-08-13 op .Ox ,
139 f1279523 2021-08-13 op only files inside special directories
140 f1279523 2021-08-13 op .Pq like Pa /tmp No or Pa ~/Downloads
141 f1279523 2021-08-13 op are available.
142 f1279523 2021-08-13 op .It finger://
143 f1279523 2021-08-13 op Finger URLs are interpreted as follows:
144 4a52e6fe 2021-08-03 op .Bl -bullet -compact
145 4a52e6fe 2021-08-03 op .It
146 4a52e6fe 2021-08-03 op the host is determined by the host name portion of the URL
147 4a52e6fe 2021-08-03 op .It
148 4a52e6fe 2021-08-03 op if the user portion of the URL is provided, it's interpreted as the
149 4a52e6fe 2021-08-03 op user to finger, otherwise the path component will be used
150 4a52e6fe 2021-08-03 op .El
151 4a52e6fe 2021-08-03 op thus
152 4a52e6fe 2021-08-03 op .Lk finger://user@hostname
153 4a52e6fe 2021-08-03 op and
154 4a52e6fe 2021-08-03 op .Lk finger://hostname/user
155 f1279523 2021-08-13 op are treated as the same URL.
156 f1279523 2021-08-13 op .It gemini://
157 f1279523 2021-08-13 op Gemini is fully supported, with the exception of client-certificates.
158 f1279523 2021-08-13 op .It gopher://
159 4a52e6fe 2021-08-03 op Gopher support is limited to items type 0, 1 and 7.
160 4a52e6fe 2021-08-03 op All text is assumed to be encoded in UTF-8 (or ASCII).
161 f1279523 2021-08-13 op .El
162 eb6e7b8a 2021-08-16 op .Pp
163 eb6e7b8a 2021-08-16 op User-entered URLs, given as argument on the command line or entered
164 eb6e7b8a 2021-08-16 op with
165 eb6e7b8a 2021-08-16 op .Ic load-url ,
166 eb6e7b8a 2021-08-16 op are intepreted with a simple heuristic:
167 eb6e7b8a 2021-08-16 op .Bl -bullet -compact
168 eb6e7b8a 2021-08-16 op .It
169 eb6e7b8a 2021-08-16 op if it's a proper absolute URL then use it as-is,
170 eb6e7b8a 2021-08-16 op .It
171 eb6e7b8a 2021-08-16 op if it starts with
172 eb6e7b8a 2021-08-16 op .Dq ./
173 eb6e7b8a 2021-08-16 op or
174 eb6e7b8a 2021-08-16 op .Dq /
175 eb6e7b8a 2021-08-16 op assume it's a file:// URL,
176 eb6e7b8a 2021-08-16 op .It
177 eb6e7b8a 2021-08-16 op otherwise assume it's a Gemini URL.
178 a74a9f2c 2021-10-08 op .El
179 a74a9f2c 2021-10-08 op .Sh CONFIGURATION FILE
180 a74a9f2c 2021-10-08 op During the startup,
181 a74a9f2c 2021-10-08 op .Nm
182 a74a9f2c 2021-10-08 op reads the configuration file at
183 a74a9f2c 2021-10-08 op .Pa ~/.config/telescope/config
184 a74a9f2c 2021-10-08 op or
185 a74a9f2c 2021-10-08 op .Pa ~/.telescope/config .
186 a74a9f2c 2021-10-08 op .Pp
187 a74a9f2c 2021-10-08 op It's possible to load a custom configuration file using the
188 a74a9f2c 2021-10-08 op .Fl c
189 a74a9f2c 2021-10-08 op flag.
190 a74a9f2c 2021-10-08 op .Pp
191 a74a9f2c 2021-10-08 op .Nm
192 a74a9f2c 2021-10-08 op will also load a file called
193 a74a9f2c 2021-10-08 op .Pa config-TERM ,
194 a74a9f2c 2021-10-08 op where
195 a74a9f2c 2021-10-08 op .Dq TERM
196 a74a9f2c 2021-10-08 op is the name of the terminal type
197 a74a9f2c 2021-10-08 op .Pq i.e. the TERM environment variable ,
198 a74a9f2c 2021-10-08 op if it exists.
199 a74a9f2c 2021-10-08 op .Pp
200 a74a9f2c 2021-10-08 op The format of the configuration file is fairly flexible.
201 a74a9f2c 2021-10-08 op The current line can be extended over multiple ones using a
202 a74a9f2c 2021-10-08 op backslash
203 a74a9f2c 2021-10-08 op .Pq Sq \e .
204 a74a9f2c 2021-10-08 op Comments can be put anywhere in the file using a hash mark
205 a74a9f2c 2021-10-08 op .Pq Sq # ,
206 a74a9f2c 2021-10-08 op and extend to the end of the current line, but backslashes can't be
207 a74a9f2c 2021-10-08 op used to extend comments over multiple lines.
208 a74a9f2c 2021-10-08 op .Pp
209 a74a9f2c 2021-10-08 op The following constructs are available:
210 a74a9f2c 2021-10-08 op .Bl -tag -width Ds
211 a74a9f2c 2021-10-08 op .It Ic bind Ar map Ar key Ar cmd
212 a74a9f2c 2021-10-08 op Bind
213 a74a9f2c 2021-10-08 op .Ar key
214 a74a9f2c 2021-10-08 op to the function
215 a74a9f2c 2021-10-08 op .Ar cmd
216 a74a9f2c 2021-10-08 op in the keymap
217 a74a9f2c 2021-10-08 op .Ar map .
218 a74a9f2c 2021-10-08 op Valid values for map are
219 a74a9f2c 2021-10-08 op .Dq global-map
220 a74a9f2c 2021-10-08 op .Pq i.e. when the user is viewing a page
221 a74a9f2c 2021-10-08 op and
222 a74a9f2c 2021-10-08 op .Dq minibuffer-map
223 a74a9f2c 2021-10-08 op .Pq i.e. when the minibuffer has the focus.
224 a74a9f2c 2021-10-08 op .Ar key
225 a74a9f2c 2021-10-08 op follows the same syntax described in
226 a74a9f2c 2021-10-08 op .Sx DEFAULT KEY BINDINGS
227 a74a9f2c 2021-10-08 op and all the possible functions are listed in
228 a74a9f2c 2021-10-08 op .Sx INTERACTIVE COMMANDS .
229 a74a9f2c 2021-10-08 op .It Ic proxy Ar proto Ic via Ar url
230 a74a9f2c 2021-10-08 op Use
231 a74a9f2c 2021-10-08 op .Ar url
232 a74a9f2c 2021-10-08 op as proxy for all URLs with
233 a74a9f2c 2021-10-08 op protocol
234 a74a9f2c 2021-10-08 op .Ar proto .
235 a74a9f2c 2021-10-08 op .Ar url
236 a74a9f2c 2021-10-08 op must be a Gemini URI without path, query and fragment component.
237 a74a9f2c 2021-10-08 op .It Ic set Ar opt No = Ar val
238 a74a9f2c 2021-10-08 op Set the option
239 a74a9f2c 2021-10-08 op .Ar opt
240 a74a9f2c 2021-10-08 op to the value
241 a74a9f2c 2021-10-08 op .Ar val .
242 a74a9f2c 2021-10-08 op Valid options are:
243 a74a9f2c 2021-10-08 op .Pp
244 a74a9f2c 2021-10-08 op .Bl -tag -width twelveletters -compact
245 a74a9f2c 2021-10-08 op .It autosave
246 a74a9f2c 2021-10-08 op .Pq integer
247 a74a9f2c 2021-10-08 op If greater than zero, save the session after the specified amount of
248 a74a9f2c 2021-10-08 op seconds after some events happens
249 a74a9f2c 2021-10-08 op .Pq new or closed tabs, visited a link ...
250 a74a9f2c 2021-10-08 op Defaults to 20.
251 a74a9f2c 2021-10-08 op .It dont-wrap-pre
252 a74a9f2c 2021-10-08 op .Pq integer
253 a74a9f2c 2021-10-08 op If nonzero, don't wrap preformatted blocks.
254 a74a9f2c 2021-10-08 op Defaults to 0.
255 a74a9f2c 2021-10-08 op .It download-path
256 a74a9f2c 2021-10-08 op .Pq string
257 a74a9f2c 2021-10-08 op The default download path.
258 a74a9f2c 2021-10-08 op Defaults to
259 a74a9f2c 2021-10-08 op .Pa /tmp .
260 a74a9f2c 2021-10-08 op .It emojify-link
261 a74a9f2c 2021-10-08 op .Pq integer
262 a74a9f2c 2021-10-08 op If nonzero, when the text of a link starts with an emoji followed by a
263 a74a9f2c 2021-10-08 op space, use that emoji as line prefix.
264 a74a9f2c 2021-10-08 op Defaults to 1.
265 a74a9f2c 2021-10-08 op .It enable-colors
266 a74a9f2c 2021-10-08 op .Pq integer
267 a74a9f2c 2021-10-08 op If nonzero, enable colours.
268 a74a9f2c 2021-10-08 op Defaults to 0 if
269 a74a9f2c 2021-10-08 op .Ev NO_COLORS
270 a74a9f2c 2021-10-08 op is set, 1 otherwise.
271 a74a9f2c 2021-10-08 op .It fill-column
272 a74a9f2c 2021-10-08 op .Pq integer
273 a74a9f2c 2021-10-08 op If greater than zero, lines of text will be formatted in a way that
274 a74a9f2c 2021-10-08 op don't exceed the given number of columns.
275 a74a9f2c 2021-10-08 op Defaults to 80.
276 a74a9f2c 2021-10-08 op .It hide-pre-blocks
277 a74a9f2c 2021-10-08 op .Pq integer
278 a74a9f2c 2021-10-08 op If nonzero, hide by default the body of the preformatted blocks.
279 a74a9f2c 2021-10-08 op Defaults to zero.
280 a74a9f2c 2021-10-08 op .Ic push-button
281 a74a9f2c 2021-10-08 op can be used to toggle the visibility per-block.
282 a74a9f2c 2021-10-08 op .It hide-pre-closing-line
283 a74a9f2c 2021-10-08 op .Pq integer
284 a74a9f2c 2021-10-08 op If nonzero, hide the closing line of preformatted blocks.
285 a74a9f2c 2021-10-08 op Defaults to 0.
286 a74a9f2c 2021-10-08 op .It hide-pre-context
287 a74a9f2c 2021-10-08 op .Pq integer
288 a74a9f2c 2021-10-08 op If nonzero, hide the start and end line of the preformatted blocks.
289 a74a9f2c 2021-10-08 op If both hide-pre-context and hide-pre-blocks are nonzero, preformatted
290 a74a9f2c 2021-10-08 op blocks are irremediably hidden.
291 a74a9f2c 2021-10-08 op Defaults to zero.
292 a74a9f2c 2021-10-08 op .It new-tab-url
293 a74a9f2c 2021-10-08 op .Pq string
294 a74a9f2c 2021-10-08 op URL for the new tab page.
295 a74a9f2c 2021-10-08 op Defaults to
296 a74a9f2c 2021-10-08 op .Dq about:new .
297 a74a9f2c 2021-10-08 op .It olivetti-mode
298 a74a9f2c 2021-10-08 op .Pq integer
299 a74a9f2c 2021-10-08 op If nonzero, enable
300 a74a9f2c 2021-10-08 op .Ic olivetti-mode
301 a74a9f2c 2021-10-08 op Defaults to 1.
302 a74a9f2c 2021-10-08 op .It set-title
303 a74a9f2c 2021-10-08 op .Pq integer
304 a74a9f2c 2021-10-08 op If nonzero, set the terminal title to the page title.
305 a74a9f2c 2021-10-08 op Defaults to 1.
306 a74a9f2c 2021-10-08 op .It tab-bar-show
307 a74a9f2c 2021-10-08 op .Pq integer
308 a74a9f2c 2021-10-08 op If tab-bar-show is -1 hide the tab bar permanently, if 0 show it
309 a74a9f2c 2021-10-08 op unconditionally.
310 a74a9f2c 2021-10-08 op If it's 1, show the bar only when there is more than one tab.
311 a74a9f2c 2021-10-08 op Defaults to 1.
312 a74a9f2c 2021-10-08 op .El
313 a74a9f2c 2021-10-08 op .It Ic style Ar name Ar option
314 a74a9f2c 2021-10-08 op Change the styling of the element identified by
315 a74a9f2c 2021-10-08 op .Ar name .
316 a74a9f2c 2021-10-08 op Multiple options may be specified within curly braces.
317 a74a9f2c 2021-10-08 op Valid style identifiers are:
318 399bd9a0 2021-11-05 op .Bl -tag -width line.download.ongoing -compact -offset Ds
319 a74a9f2c 2021-10-08 op .It line
320 a74a9f2c 2021-10-08 op the area outside the lines in the body of the page.
321 a74a9f2c 2021-10-08 op .It line.compl
322 a74a9f2c 2021-10-08 op the completions.
323 a74a9f2c 2021-10-08 op .It line.compl.current
324 a74a9f2c 2021-10-08 op the current completion.
325 a74a9f2c 2021-10-08 op .It line.help
326 a74a9f2c 2021-10-08 op text in the *Help* buffer.
327 399bd9a0 2021-11-05 op .It line.download.ongoing
328 399bd9a0 2021-11-05 op an ongoing download
329 399bd9a0 2021-11-05 op .It line.download.done
330 399bd9a0 2021-11-05 op a completed download
331 399bd9a0 2021-11-05 op .It line.download.info
332 399bd9a0 2021-11-05 op informational text in the *Downloads* buffer.
333 a74a9f2c 2021-10-08 op .It line.text
334 a74a9f2c 2021-10-08 op text lines.
335 a74a9f2c 2021-10-08 op .It line.link
336 a74a9f2c 2021-10-08 op link lines.
337 a74a9f2c 2021-10-08 op .It line.title1..3
338 a74a9f2c 2021-10-08 op headings
339 a74a9f2c 2021-10-08 op .It line.item
340 a74a9f2c 2021-10-08 op item lines.
341 a74a9f2c 2021-10-08 op .It line.quote
342 a74a9f2c 2021-10-08 op quotes.
343 a74a9f2c 2021-10-08 op .It line.pre.start
344 a74a9f2c 2021-10-08 op the heading of a preformatted block.
345 a74a9f2c 2021-10-08 op .It line.pre
346 a74a9f2c 2021-10-08 op the content of a preformatted block.
347 a74a9f2c 2021-10-08 op .It line.pre.end
348 a74a9f2c 2021-10-08 op the closing line of a preformatted block.
349 399bd9a0 2021-11-05 op .It download
350 399bd9a0 2021-11-05 op the download pane
351 a74a9f2c 2021-10-08 op .It minibuffer
352 a74a9f2c 2021-10-08 op the minibuffer.
353 a74a9f2c 2021-10-08 op .It modeline
354 a74a9f2c 2021-10-08 op the modeline.
355 a74a9f2c 2021-10-08 op .It tabline
356 a74a9f2c 2021-10-08 op the tabline.
357 a74a9f2c 2021-10-08 op .It tabline.tab
358 a74a9f2c 2021-10-08 op the non-focused tabs.
359 a74a9f2c 2021-10-08 op .It tabline.current
360 a74a9f2c 2021-10-08 op the focused tab.
361 a74a9f2c 2021-10-08 op .El
362 a74a9f2c 2021-10-08 op .Pp
363 a74a9f2c 2021-10-08 op Valid options are:
364 a74a9f2c 2021-10-08 op .Bl -tag -width Ds
365 a74a9f2c 2021-10-08 op .It Ic attr Ar prefix Oo Ar line Oo Ar trail Oc Oc
366 a74a9f2c 2021-10-08 op Sets the text attributes.
367 a74a9f2c 2021-10-08 op If only one value is given,
368 a74a9f2c 2021-10-08 op .Ar line
369 a74a9f2c 2021-10-08 op and
370 a74a9f2c 2021-10-08 op .Ar trail
371 a74a9f2c 2021-10-08 op default to that; if two values are given then
372 a74a9f2c 2021-10-08 op .Ar trail
373 a74a9f2c 2021-10-08 op defaults to
374 a74a9f2c 2021-10-08 op .Ar prefix .
375 a74a9f2c 2021-10-08 op Each attribute is a comma-separated list of keywords:
376 a74a9f2c 2021-10-08 op .Bl -tag -width underline -compact -offset Ds
377 a74a9f2c 2021-10-08 op .It Ic normal
378 a74a9f2c 2021-10-08 op no attributes.
379 a74a9f2c 2021-10-08 op .It Ic standout
380 a74a9f2c 2021-10-08 op best highlighting mode for the terminal.
381 a74a9f2c 2021-10-08 op .It Ic underline
382 a74a9f2c 2021-10-08 op underlines the text.
383 a74a9f2c 2021-10-08 op .It Ic reverse
384 a74a9f2c 2021-10-08 op reverses background/foreground colors.
385 a74a9f2c 2021-10-08 op .It Ic blink
386 a74a9f2c 2021-10-08 op makes the text blinking.
387 a74a9f2c 2021-10-08 op .It Ic dim
388 a74a9f2c 2021-10-08 op half bright.
389 a74a9f2c 2021-10-08 op .It Ic bold
390 a74a9f2c 2021-10-08 op extra bright or bold.
391 a74a9f2c 2021-10-08 op .El
392 a74a9f2c 2021-10-08 op .Pp
393 a74a9f2c 2021-10-08 op Only the style identifiers with the
394 a74a9f2c 2021-10-08 op .Dq line.
395 a74a9f2c 2021-10-08 op prefix accept up to three attributes.
396 a74a9f2c 2021-10-08 op The other will only use the first one given.
397 a74a9f2c 2021-10-08 op .It Ic bg Ar prefix Oo Ar line Oo Ar trail Oc Oc
398 a74a9f2c 2021-10-08 op Sets the background color.
399 a74a9f2c 2021-10-08 op Follows the same behaviour as
400 a74a9f2c 2021-10-08 op .Ic attr
401 a74a9f2c 2021-10-08 op regarding the optional parameters.
402 a74a9f2c 2021-10-08 op The colour is one of black, red, green, yellow, blue,
403 a74a9f2c 2021-10-08 op magenta, cyan and white; colour0 to colour255
404 a74a9f2c 2021-10-08 op .Pq or color0 to color255
405 a74a9f2c 2021-10-08 op from the 256-colour set;
406 a74a9f2c 2021-10-08 op default for the default colour.
407 a74a9f2c 2021-10-08 op .It Ic fg Ar prefix Oo Ar line Oo Ar trail Oc Oc
408 a74a9f2c 2021-10-08 op Sets the foreground color.
409 a74a9f2c 2021-10-08 op It behaves just like
410 a74a9f2c 2021-10-08 op .Ic bg .
411 a74a9f2c 2021-10-08 op .It Ic prefix Ar prfx Op Ar cont
412 a74a9f2c 2021-10-08 op Sets the prefix for the current line type to
413 a74a9f2c 2021-10-08 op .Ar prfx
414 a74a9f2c 2021-10-08 op and
415 a74a9f2c 2021-10-08 op .Ar cont
416 a74a9f2c 2021-10-08 op as the prefix for the continuation lines
417 a74a9f2c 2021-10-08 op .Pq i.e. when a long line gets wrapped.
418 a74a9f2c 2021-10-08 op If
419 a74a9f2c 2021-10-08 op .Ar cont
420 a74a9f2c 2021-10-08 op is not given its value will be the same of
421 a74a9f2c 2021-10-08 op .Ar prfx .
422 a74a9f2c 2021-10-08 op .El
423 eb6e7b8a 2021-08-16 op .El
424 bba111bc 2021-03-28 op .Sh DEFAULT KEY BINDINGS
425 bba111bc 2021-03-28 op The default key bindings are very similar to GNU Emacs, but care has
426 bba111bc 2021-03-28 op been taken to include also bindings familiar for
427 bba111bc 2021-03-28 op .Xr vi 1
428 bba111bc 2021-03-28 op and
429 bba111bc 2021-03-28 op .Dq CUA
430 bba111bc 2021-03-28 op users.
431 bba111bc 2021-03-28 op In the following examples, C-x means Control-x, M-x means Meta-x,
432 bba111bc 2021-03-28 op where the Meta key may be either a special key on the keyboard or the
433 bba111bc 2021-03-28 op ALT key; otherwise ESC followed by the key X works as well, and C-M-x
434 bba111bc 2021-03-28 op means to press the key X together with both Control and Meta.
435 bba111bc 2021-03-28 op .Pp
436 bba111bc 2021-03-28 op Keys are usually a single character, like
437 bba111bc 2021-03-28 op .Sq p
438 bba111bc 2021-03-28 op or
439 bba111bc 2021-03-28 op .Sq n ,
440 bba111bc 2021-03-28 op but some special keys are accepted as well.
441 bba111bc 2021-03-28 op .Pp
442 bba111bc 2021-03-28 op .Bl -tag -width 16m -offset indent -compact
443 bba111bc 2021-03-28 op .It <up>
444 bba111bc 2021-03-28 op Up arrow
445 bba111bc 2021-03-28 op .It <down>
446 bba111bc 2021-03-28 op Down arrow
447 bba111bc 2021-03-28 op .It <left>
448 bba111bc 2021-03-28 op Left arrow
449 bba111bc 2021-03-28 op .It <right>
450 bba111bc 2021-03-28 op Right arrow
451 bba111bc 2021-03-28 op .It <prior>
452 bba111bc 2021-03-28 op Previous page/Page up
453 bba111bc 2021-03-28 op .It <next>
454 bba111bc 2021-03-28 op Next page/Page down
455 bba111bc 2021-03-28 op .It <home>
456 bba111bc 2021-03-28 op Home
457 bba111bc 2021-03-28 op .It <end>
458 bba111bc 2021-03-28 op End
459 bba111bc 2021-03-28 op .It <f0> thru <f63>
460 bba111bc 2021-03-28 op Function keys
461 bba111bc 2021-03-28 op .It del or backspace
462 bba111bc 2021-03-28 op Backspace
463 bba111bc 2021-03-28 op .It esc
464 bba111bc 2021-03-28 op Escape
465 bba111bc 2021-03-28 op .It space or spc
466 bba111bc 2021-03-28 op Space
467 bba111bc 2021-03-28 op .It enter or ret
468 bba111bc 2021-03-28 op Enter
469 bba111bc 2021-03-28 op .It tab
470 bba111bc 2021-03-28 op Tab
471 8dc60352 2021-06-15 op .It backtab
472 9eb0c887 2021-08-03 op Depends on the configuration of the terminal emulator; usually shift
473 9eb0c887 2021-08-03 op tab.
474 bba111bc 2021-03-28 op .El
475 bba111bc 2021-03-28 op .Ss GNU Emacs-like keys
476 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
477 bba111bc 2021-03-28 op .It C-p
478 7dbaef94 2021-04-22 op previous-line
479 bba111bc 2021-03-28 op .It C-n
480 7dbaef94 2021-04-22 op next-line
481 bba111bc 2021-03-28 op .It C-f
482 7dbaef94 2021-04-22 op forward-char
483 bba111bc 2021-03-28 op .It C-b
484 7dbaef94 2021-04-22 op backward-char
485 bba111bc 2021-03-28 op .It M-{
486 7dbaef94 2021-04-22 op backward-paragraph
487 bba111bc 2021-03-28 op .It M-}
488 7dbaef94 2021-04-22 op forward-paragraph
489 bba111bc 2021-03-28 op .It C-a
490 7dbaef94 2021-04-22 op move-beginning-of-line
491 bba111bc 2021-03-28 op .It C-e
492 7dbaef94 2021-04-22 op move-end-of-line
493 bba111bc 2021-03-28 op .It M-v, M-space
494 7dbaef94 2021-04-22 op scroll-up
495 bba111bc 2021-03-28 op .It C-v, space
496 7dbaef94 2021-04-22 op scroll-down
497 bba111bc 2021-03-28 op .It M-<
498 7dbaef94 2021-04-22 op beginning-of-buffer
499 bba111bc 2021-03-28 op .It M->
500 7dbaef94 2021-04-22 op end-of-buffer
501 bba111bc 2021-03-28 op .It C-x C-c
502 7dbaef94 2021-04-22 op kill-telescope
503 bba111bc 2021-03-28 op .It C-g
504 7dbaef94 2021-04-22 op clear-minibuf
505 bba111bc 2021-03-28 op .It M-x
506 7dbaef94 2021-04-22 op execute-extended-command
507 61251035 2021-06-26 op .It C-c {
508 61251035 2021-06-26 op dec-fill-column
509 61251035 2021-06-26 op .It C-c }
510 61251035 2021-06-26 op inc-fill-column
511 1c412d48 2021-06-25 op .It C-c p
512 1c412d48 2021-06-25 op previous-heading
513 1c412d48 2021-06-25 op .It C-c n
514 1c412d48 2021-06-25 op next-heading
515 157d4810 2021-06-24 op .It >
516 157d4810 2021-06-24 op load-url
517 f2ab2540 2021-07-14 op .It <
518 f2ab2540 2021-07-14 op load-current-url
519 bba111bc 2021-03-28 op .It C-x C-f
520 7dbaef94 2021-04-22 op load-url
521 bba111bc 2021-03-28 op .It C-x M-f
522 7dbaef94 2021-04-22 op load-current-url
523 9a7d62cb 2021-07-21 op .It C-x o
524 9a7d62cb 2021-07-21 op other-window
525 bba111bc 2021-03-28 op .It C-x t 0
526 7dbaef94 2021-04-22 op tab-close
527 bba111bc 2021-03-28 op .It C-x t 1
528 7dbaef94 2021-04-22 op tab-close-other
529 bba111bc 2021-03-28 op .It C-x t 2
530 7dbaef94 2021-04-22 op tab-new
531 bba111bc 2021-03-28 op .It C-x t o
532 7dbaef94 2021-04-22 op tab-next
533 bba111bc 2021-03-28 op .It C-x t O
534 7dbaef94 2021-04-22 op tab-previous
535 bba111bc 2021-03-28 op .It C-x t m
536 7dbaef94 2021-04-22 op tab-move
537 bba111bc 2021-03-28 op .It C-x t M
538 7dbaef94 2021-04-22 op tab-move-to
539 05c5cf0c 2021-07-13 op .It B, C-M-b
540 7dbaef94 2021-04-22 op previous-page
541 05c5cf0c 2021-07-13 op .It F, C-M-f
542 7dbaef94 2021-04-22 op next-page
543 bba111bc 2021-03-28 op .It <f7> a
544 7dbaef94 2021-04-22 op bookmark-page
545 bba111bc 2021-03-28 op .It <f7> <f7>
546 7dbaef94 2021-04-22 op list-bookmarks
547 12cf7d80 2021-07-15 op .It C-z
548 12cf7d80 2021-07-15 op suspend-telescope
549 bba111bc 2021-03-28 op .El
550 bba111bc 2021-03-28 op .Ss Xr vi 1 Ns -like keys
551 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
552 bba111bc 2021-03-28 op .It k
553 7dbaef94 2021-04-22 op previous-line
554 bba111bc 2021-03-28 op .It j
555 7dbaef94 2021-04-22 op next-line
556 bba111bc 2021-03-28 op .It l
557 7dbaef94 2021-04-22 op forward-char
558 bba111bc 2021-03-28 op .It h
559 7dbaef94 2021-04-22 op backward-char
560 bba111bc 2021-03-28 op .It {
561 7dbaef94 2021-04-22 op backward-paragraph
562 bba111bc 2021-03-28 op .It }
563 7dbaef94 2021-04-22 op forward-paragraph
564 bba111bc 2021-03-28 op .It ^
565 7dbaef94 2021-04-22 op move-beginning-of-line
566 bba111bc 2021-03-28 op .It $
567 7dbaef94 2021-04-22 op move-end-of-line
568 bba111bc 2021-03-28 op .It K
569 7dbaef94 2021-04-22 op scroll-line-up
570 bba111bc 2021-03-28 op .It J
571 7dbaef94 2021-04-22 op scroll-line-down
572 bba111bc 2021-03-28 op .It g g
573 7dbaef94 2021-04-22 op beginning-of-buffer
574 6c04e8b6 2021-04-01 op .It G
575 7dbaef94 2021-04-22 op end-of-buffer
576 bba111bc 2021-03-28 op .It g D
577 7dbaef94 2021-04-22 op tab-close
578 bba111bc 2021-03-28 op .It g N
579 7dbaef94 2021-04-22 op tab-new
580 bba111bc 2021-03-28 op .It g t
581 7dbaef94 2021-04-22 op tab-next
582 bba111bc 2021-03-28 op .It g T
583 7dbaef94 2021-04-22 op tab-previous
584 bba111bc 2021-03-28 op .It g M-t
585 7dbaef94 2021-04-22 op tab-move
586 bba111bc 2021-03-28 op .It g M-T
587 7dbaef94 2021-04-22 op tab-move-to
588 bba111bc 2021-03-28 op .It H
589 7dbaef94 2021-04-22 op previous-page
590 bba111bc 2021-03-28 op .It L
591 7dbaef94 2021-04-22 op next-page
592 bba111bc 2021-03-28 op .It q
593 7dbaef94 2021-04-22 op kill-telescope
594 bba111bc 2021-03-28 op .It ESC
595 7dbaef94 2021-04-22 op clear-minibuf
596 bba111bc 2021-03-28 op .It :
597 7dbaef94 2021-04-22 op execute-extended-command
598 bba111bc 2021-03-28 op .El
599 bba111bc 2021-03-28 op .Ss CUA-like keys
600 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
601 bba111bc 2021-03-28 op .It <up>
602 7dbaef94 2021-04-22 op previous-line
603 bba111bc 2021-03-28 op .It <down>
604 7dbaef94 2021-04-22 op next-line
605 bba111bc 2021-03-28 op .It <right>
606 7dbaef94 2021-04-22 op forward-char
607 bba111bc 2021-03-28 op .It <left>
608 7dbaef94 2021-04-22 op backward-char
609 12cf7d80 2021-07-15 op .It <home>
610 12cf7d80 2021-07-15 op move-beginning-of-line
611 12cf7d80 2021-07-15 op .It <end>
612 12cf7d80 2021-07-15 op move-end-of-line
613 bba111bc 2021-03-28 op .It <prior>
614 7dbaef94 2021-04-22 op scroll-up
615 bba111bc 2021-03-28 op .It <next>
616 7dbaef94 2021-04-22 op scroll-down
617 25f5824b 2021-07-08 op .It C-w
618 25f5824b 2021-07-08 op tab-close
619 3c3af0fd 2021-07-08 op .It C-t
620 3c3af0fd 2021-07-08 op tab-new
621 3c3af0fd 2021-07-08 op .It M-<prior>
622 3c3af0fd 2021-07-08 op tab-previous
623 3c3af0fd 2021-07-08 op .It M-<next>
624 3c3af0fd 2021-07-08 op tab-next
625 bba111bc 2021-03-28 op .It M-<left>
626 7dbaef94 2021-04-22 op previous-page
627 bba111bc 2021-03-28 op .It M-<right>
628 7dbaef94 2021-04-22 op next-page
629 661233ed 2021-07-14 op .It <f5>
630 661233ed 2021-07-14 op reload-page
631 661233ed 2021-07-14 op .It r
632 661233ed 2021-07-14 op reload-page
633 bba111bc 2021-03-28 op .El
634 bba111bc 2021-03-28 op .Ss Neither Emacs nor vi specific
635 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
636 7a014cef 2021-04-01 op .It <f1>
637 7dbaef94 2021-04-22 op toggle-help
638 bba111bc 2021-03-28 op .It enter
639 7dbaef94 2021-04-22 op push-button
640 bba111bc 2021-03-28 op .It M-enter
641 7dbaef94 2021-04-22 op push-button-new-tab
642 bba111bc 2021-03-28 op .It M-tab
643 7dbaef94 2021-04-22 op previous-button
644 8dc60352 2021-06-15 op .It backtab
645 8dc60352 2021-06-15 op previous-button
646 bba111bc 2021-03-28 op .It tab
647 7dbaef94 2021-04-22 op next-button
648 3360ef1b 2021-07-14 op .It M-t
649 3360ef1b 2021-07-14 op tab-select
650 75fd746b 2021-07-21 op .It \&[
651 f6ad0de1 2021-07-16 op tab-previous
652 75fd746b 2021-07-21 op .It \&]
653 f6ad0de1 2021-07-16 op tab-next
654 935d50dc 2021-08-18 op .It M-\&[
655 935d50dc 2021-08-18 op tab-move-to
656 935d50dc 2021-08-18 op .It M-\&]
657 935d50dc 2021-08-18 op tab-move
658 dad288ec 2021-07-15 op .It M-l
659 753c6ac7 2021-07-14 op link-select
660 753c6ac7 2021-07-14 op .It M-/
661 753c6ac7 2021-07-14 op swiper
662 bba111bc 2021-03-28 op .El
663 bba111bc 2021-03-28 op .Ss Minibuffer-specific keys
664 bba111bc 2021-03-28 op .Bl -tag -width xxxxxxxxxxxx -offset indent -compact
665 bba111bc 2021-03-28 op .It enter
666 7dbaef94 2021-04-22 op mini-complete-and-exit
667 bba111bc 2021-03-28 op .It C-g
668 7dbaef94 2021-04-22 op mini-abort
669 bba111bc 2021-03-28 op .It ESC
670 7dbaef94 2021-04-22 op mini-abort
671 bba111bc 2021-03-28 op .It C-d
672 7dbaef94 2021-04-22 op mini-delete-char
673 bba111bc 2021-03-28 op .It del
674 7dbaef94 2021-04-22 op mini-delete-backward-char
675 bba111bc 2021-03-28 op .It backspace
676 7dbaef94 2021-04-22 op mini-delete-backward-char
677 bba111bc 2021-03-28 op .It C-h
678 7dbaef94 2021-04-22 op mini-delete-backward-char
679 bba111bc 2021-03-28 op .It C-b
680 7dbaef94 2021-04-22 op backward-char
681 bba111bc 2021-03-28 op .It C-f
682 7dbaef94 2021-04-22 op forward-char
683 bba111bc 2021-03-28 op .It <left>
684 7dbaef94 2021-04-22 op backward-char
685 bba111bc 2021-03-28 op .It <right>
686 7dbaef94 2021-04-22 op forward-char
687 bba111bc 2021-03-28 op .It C-e
688 7dbaef94 2021-04-22 op move-end-of-line
689 bba111bc 2021-03-28 op .It C-a
690 7dbaef94 2021-04-22 op move-beginning-of-line
691 bba111bc 2021-03-28 op .It <end>
692 7dbaef94 2021-04-22 op move-end-of-line
693 bba111bc 2021-03-28 op .It <home>
694 7dbaef94 2021-04-22 op move-beginning-of-line
695 bba111bc 2021-03-28 op .It C-k
696 7dbaef94 2021-04-22 op mini-kill-line
697 bba111bc 2021-03-28 op .It M-p
698 7dbaef94 2021-04-22 op mini-previous-history-element
699 bba111bc 2021-03-28 op .It M-n
700 7dbaef94 2021-04-22 op mini-next-history-element
701 e7b982f4 2021-07-14 op .It C-p
702 e7b982f4 2021-07-14 op previous-completion
703 e7b982f4 2021-07-14 op .It C-n
704 dffb2592 2021-07-14 op next-completion
705 dffb2592 2021-07-14 op .It <up>
706 dffb2592 2021-07-14 op previous-completion
707 dffb2592 2021-07-14 op .It <down>
708 e7b982f4 2021-07-14 op next-completion
709 e7b982f4 2021-07-14 op .It tab
710 e7b982f4 2021-07-14 op insert-current-candidate
711 7ee780fa 2021-07-21 op .It M-<
712 7ee780fa 2021-07-21 op mini-goto-beginning
713 7ee780fa 2021-07-21 op .It M->
714 7ee780fa 2021-07-21 op mini-goto-end
715 bba111bc 2021-03-28 op .El
716 bba111bc 2021-03-28 op .Sh INTERACTIVE COMMANDS
717 bba111bc 2021-03-28 op Follows the documentation for the interactive commands.
718 bba111bc 2021-03-28 op These commands can be bound to a key or executed with
719 bba111bc 2021-03-28 op .Ic execute-extended-command .
720 bba111bc 2021-03-28 op .Ss Movement commands
721 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
722 bba111bc 2021-03-28 op .It Ic backward-char
723 bba111bc 2021-03-28 op Move point one character backward.
724 bba111bc 2021-03-28 op .It Ic backward-paragraph
725 bba111bc 2021-03-28 op Move point one paragraph backward.
726 bba111bc 2021-03-28 op .It Ic beginning-of-buffer
727 bba111bc 2021-03-28 op Move point to the beginning of the buffer.
728 bba111bc 2021-03-28 op .It Ic end-of-buffer
729 bba111bc 2021-03-28 op Move point to the end of the buffer.
730 bba111bc 2021-03-28 op .It Ic forward-char
731 bba111bc 2021-03-28 op Move point one character forward.
732 bba111bc 2021-03-28 op .It Ic forward-paragraph
733 bba111bc 2021-03-28 op Move point one paragraph forward.
734 e7b982f4 2021-07-14 op .It Ic insert-current-candidate
735 e7b982f4 2021-07-14 op Copy the current selection text as minibuffer input.
736 bba111bc 2021-03-28 op .It Ic move-beginning-of-line
737 bba111bc 2021-03-28 op Move point at the beginning of the current (visual) line.
738 bba111bc 2021-03-28 op .It Ic move-end-of-line
739 bba111bc 2021-03-28 op Move point at the end of the current (visual) line.
740 bba111bc 2021-03-28 op .It Ic next-button
741 bba111bc 2021-03-28 op Move point to the next link.
742 e7b982f4 2021-07-14 op .It Ic next-completion
743 e7b982f4 2021-07-14 op Select the next completion.
744 1c412d48 2021-06-25 op .It Ic next-heading
745 1c412d48 2021-06-25 op Move point to the next heading.
746 bba111bc 2021-03-28 op .It Ic next-line
747 bba111bc 2021-03-28 op Move point to the next (visual) line, in the same column if possible.
748 bba111bc 2021-03-28 op .It Ic previous-button
749 bba111bc 2021-03-28 op Move point to the previous link.
750 e7b982f4 2021-07-14 op .It Ic previous-completion
751 e7b982f4 2021-07-14 op Select the previous completion.
752 1c412d48 2021-06-25 op .It Ic previous-heading
753 1c412d48 2021-06-25 op Move point to the previous heading.
754 bba111bc 2021-03-28 op .It Ic previous-line
755 bba111bc 2021-03-28 op Move point to the previous (visual) line.
756 bba111bc 2021-03-28 op .El
757 bba111bc 2021-03-28 op .Ss Bookmark-related commands
758 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
759 bba111bc 2021-03-28 op .It Ic bookmark-page
760 b3be07ea 2021-07-18 op Save a page in the bookmark file.
761 bba111bc 2021-03-28 op It preloads the minibuffer with the current URL.
762 63875195 2021-04-01 op .It Ic list-bookmarks
763 bba111bc 2021-03-28 op Load the bookmarks page.
764 bba111bc 2021-03-28 op .El
765 bba111bc 2021-03-28 op .Ss Tab-related commands
766 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
767 bba111bc 2021-03-28 op .It Ic tab-close
768 bba111bc 2021-03-28 op Close the current tab.
769 bba111bc 2021-03-28 op .It Ic tab-close-other
770 bba111bc 2021-03-28 op Close all tabs but the current one.
771 bba111bc 2021-03-28 op .It Ic tab-move
772 bba111bc 2021-03-28 op Move the current tab after the next one, wrapping around if
773 bba111bc 2021-03-28 op needed.
774 bba111bc 2021-03-28 op .It Ic tab-move-to
775 bba111bc 2021-03-28 op Move the current tab before the previous one, wrapping around if needed.
776 bba111bc 2021-03-28 op .It Ic tab-new
777 bba111bc 2021-03-28 op Open a new tab.
778 bba111bc 2021-03-28 op .It Ic tab-next
779 bba111bc 2021-03-28 op Focus next tab, wrapping around eventually.
780 bba111bc 2021-03-28 op .It Ic tab-previous
781 bba111bc 2021-03-28 op Focus the previous tab, wrapping around eventually.
782 3360ef1b 2021-07-14 op .It Ic tab-select
783 3360ef1b 2021-07-14 op Switch to a tab using the minibuffer.
784 bba111bc 2021-03-28 op .El
785 bba111bc 2021-03-28 op .Ss Misc commands
786 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
787 bba111bc 2021-03-28 op .It Ic clear-minibuf
788 b3be07ea 2021-07-18 op Clear the echo area.
789 61251035 2021-06-26 op .It Ic dec-fill-column
790 b3be07ea 2021-07-18 op Decrement fill-column by two.
791 bba111bc 2021-03-28 op .It Ic execute-extended-command
792 b3be07ea 2021-07-18 op Execute an internal command.
793 bba111bc 2021-03-28 op .It Ic kill-telescope
794 bba111bc 2021-03-28 op Quit
795 bba111bc 2021-03-28 op .Nm .
796 61251035 2021-06-26 op .It Ic inc-fill-column
797 b3be07ea 2021-07-18 op Increment fill-column by two.
798 753c6ac7 2021-07-14 op .It Ic link-select
799 753c6ac7 2021-07-14 op Select and visit a link using the minibuffer.
800 bba111bc 2021-03-28 op .It Ic load-current-url
801 b3be07ea 2021-07-18 op Edit the current URL.
802 bba111bc 2021-03-28 op .It Ic load-url
803 b3be07ea 2021-07-18 op Prompt for an URL.
804 bba111bc 2021-03-28 op .It Ic next-page
805 b3be07ea 2021-07-18 op Go forward in the page history.
806 9f3f9f5e 2021-06-19 op .It Ic olivetti-mode
807 9f3f9f5e 2021-06-19 op Toggle olivetti mode (i.e. horizontal centering of the lines of the
808 9f3f9f5e 2021-06-19 op window.)
809 9a7d62cb 2021-07-21 op .It Ic other-window
810 9a7d62cb 2021-07-21 op Select the other window.
811 bba111bc 2021-03-28 op .It Ic previous-page
812 b3be07ea 2021-07-18 op Go backward in the page history.
813 bba111bc 2021-03-28 op .It Ic push-button
814 b3be07ea 2021-07-18 op Follow link at point, or toggle the visibility of the following
815 b3be07ea 2021-07-18 op preformatted block if called when the cursor is on the heading of the block.
816 bba111bc 2021-03-28 op .It Ic push-button-new-tab
817 b3be07ea 2021-07-18 op Follow link at point in a new tab.
818 bba111bc 2021-03-28 op .It Ic redraw
819 708fab48 2021-06-19 op Redraw the screen, useful if some background program messed up the
820 bba111bc 2021-03-28 op display.
821 661233ed 2021-07-14 op .It Ic reload-page
822 661233ed 2021-07-14 op Reload the current page.
823 bba111bc 2021-03-28 op .It Ic scroll-down
824 bba111bc 2021-03-28 op Scroll down by one visual page.
825 bba111bc 2021-03-28 op .It Ic scroll-line-down
826 bba111bc 2021-03-28 op Scroll down by one line.
827 bba111bc 2021-03-28 op .It Ic scroll-line-up
828 bba111bc 2021-03-28 op Scroll up by one line.
829 bba111bc 2021-03-28 op .It Ic scroll-up
830 bba111bc 2021-03-28 op Scroll up by one visual page.
831 12cf7d80 2021-07-15 op .It Ic suspend-telescope
832 12cf7d80 2021-07-15 op Suspend the current
833 12cf7d80 2021-07-15 op .Nm
834 12cf7d80 2021-07-15 op session.
835 753c6ac7 2021-07-14 op .It Ic swiper
836 753c6ac7 2021-07-14 op Jump to a line using the minibuffer.
837 edd9a650 2021-07-15 op .It Ic toc
838 b3be07ea 2021-07-18 op Jump to a heading using the minibuffer.
839 7a014cef 2021-04-01 op .It Ic toggle-help
840 7a014cef 2021-04-01 op Toggle side window with help about available keys and their associated
841 7a014cef 2021-04-01 op interactive command.
842 987d9c88 2021-07-15 op .It Ic toggle-pre-wrap
843 987d9c88 2021-07-15 op Toggle the wrapping of preformatted blocks.
844 bba111bc 2021-03-28 op .El
845 bba111bc 2021-03-28 op .Ss Minibuffer commands
846 bba111bc 2021-03-28 op .Bl -tag -width execute-extended-command -compact
847 bba111bc 2021-03-28 op .It Ic mini-abort
848 bba111bc 2021-03-28 op Abort the current minibuffer action.
849 bba111bc 2021-03-28 op .It Ic mini-complete-and-exit
850 bba111bc 2021-03-28 op Complete the current minibuffer action.
851 bba111bc 2021-03-28 op .It Ic mini-delete-backward-char
852 bba111bc 2021-03-28 op Delete the character before the point.
853 bba111bc 2021-03-28 op .It Ic mini-delete-char
854 bba111bc 2021-03-28 op Delete the character after the point.
855 de190a2b 2021-07-17 op .It Ic mini-goto-beginning
856 de190a2b 2021-07-17 op Select the first completion, if any.
857 de190a2b 2021-07-17 op .It Ic mini-goto-end
858 de190a2b 2021-07-17 op Select the last completion, if any.
859 bba111bc 2021-03-28 op .It Ic mini-kill-line
860 b3be07ea 2021-07-18 op Delete from point until the end of the line.
861 bba111bc 2021-03-28 op .It Ic mini-next-history-element
862 bba111bc 2021-03-28 op Load the previous history element.
863 bba111bc 2021-03-28 op .It Ic mini-previous-history-element
864 bba111bc 2021-03-28 op Load the next history element.
865 bba111bc 2021-03-28 op .El
866 7d2d15f5 2021-04-30 op .Ss Aliases
867 7d2d15f5 2021-04-30 op The following aliases are available during
868 7d2d15f5 2021-04-30 op .Ic execute-extended-command :
869 7d2d15f5 2021-04-30 op .Bl -tag -width 16m -compact
870 c82b3fd6 2021-05-12 op .It Ic tabn
871 c82b3fd6 2021-05-12 op .Ic tab-next
872 c82b3fd6 2021-05-12 op .It Ic tabnew
873 c82b3fd6 2021-05-12 op .Ic tab-new
874 c82b3fd6 2021-05-12 op .It Ic tabp
875 c82b3fd6 2021-05-12 op .Ic tab-previous
876 7d2d15f5 2021-04-30 op .It Ic q No and Ic wq
877 7d2d15f5 2021-04-30 op .Ic kill-telescope
878 74ca8ef4 2021-06-19 op .El
879 7ee780fa 2021-07-21 op .Sh ENVIRONMENT
880 7ee780fa 2021-07-21 op When
881 7ee780fa 2021-07-21 op .Nm
882 7ee780fa 2021-07-21 op is started, it inspects the following environment variables:
883 7ee780fa 2021-07-21 op .Bl -tag -width NO_COLORS
884 7ee780fa 2021-07-21 op .It Ev HOME
885 7ee780fa 2021-07-21 op The user's login directory.
886 7ee780fa 2021-07-21 op .It Ev NO_COLORS
887 7ee780fa 2021-07-21 op To decide whether to use colors or not.
888 7ee780fa 2021-07-21 op The content of the variable doesn't matter.
889 7ee780fa 2021-07-21 op .It Ev TERM
890 7ee780fa 2021-07-21 op The user's terminal name.
891 73389b00 2021-10-08 op .It Ev XDG_CACHE_HOME , Ev XDG_CONFIG_HOME , Ev XDG_DATA_HOME
892 73389b00 2021-10-08 op If defined can alter the default location of the files used.
893 7ee780fa 2021-07-21 op .El
894 bba111bc 2021-03-28 op .Sh FILES
895 73389b00 2021-10-08 op By default
896 73389b00 2021-10-08 op .Nm
897 73389b00 2021-10-08 op follows the XDG Base Directory Specification.
898 73389b00 2021-10-08 op However, if
899 73389b00 2021-10-08 op .Pa ~/.telescope
900 73389b00 2021-10-08 op exists, XDG is ignored and all the files are stored inside it.
901 73389b00 2021-10-08 op The usage of
902 73389b00 2021-10-08 op .Ev XDG_CACHE_HOME ,
903 73389b00 2021-10-08 op .Ev XDG_CONFIG_HOME
904 73389b00 2021-10-08 op and
905 73389b00 2021-10-08 op .Ev XDG_DATA_HOME
906 73389b00 2021-10-08 op can further alter the location of these files.
907 73389b00 2021-10-08 op .Pp
908 bba111bc 2021-03-28 op .Bl -tag -width Ds -compact
909 eb2ed626 2021-10-07 op .It Pa ~/.config/telescope/config
910 dca97b00 2021-06-19 op Default configuration file.
911 de04b178 2021-11-26 op .It Pa ~/.local/share/telescope/pages/about_*.gmi
912 eb2ed626 2021-10-07 op Overrides for built-in about: pages.
913 eb2ed626 2021-10-07 op .It Pa ~/.local/share/telescope/bookmarks.gmi
914 eb2ed626 2021-10-07 op Bookmarks file.
915 eb2ed626 2021-10-07 op .It Pa ~/.local/share/telescope/known_hosts
916 7ee780fa 2021-07-21 op Hash of the certificates for all the known hosts.
917 7ee780fa 2021-07-21 op Each line contains three fields: hostname with optional port number,
918 7ee780fa 2021-07-21 op hash of the certificate and a numeric flag.
919 eb2ed626 2021-10-07 op .It Pa ~/.cache/telescope/lock
920 d0fd368a 2021-07-15 op Lock file used to prevent multiple instance of
921 d0fd368a 2021-07-15 op .Nm
922 d0fd368a 2021-07-15 op from running at the same time.
923 eb2ed626 2021-10-07 op .It Pa ~/.cache/telescope/session
924 7ee780fa 2021-07-21 op The list of tabs from the last session.
925 7ee780fa 2021-07-21 op Every line identifies a tab and contains three space-separated fields:
926 7ee780fa 2021-07-21 op the full URL, a comma-separated list of attributes and the cached
927 7ee780fa 2021-07-21 op title.
928 87e3e801 2021-07-17 op Is written by
929 e9b1e094 2021-04-01 op .Ic kill-telescope
930 7ee780fa 2021-07-21 op and loaded during startup.
931 6c04e8b6 2021-04-01 op .El
932 74ca8ef4 2021-06-19 op .Sh EXAMPLES
933 984245ce 2021-06-23 op It's possible to browse
934 984245ce 2021-06-23 op .Dq the small web
935 984245ce 2021-06-23 op .Pq i.e. simple websites
936 3a761ed2 2021-06-25 op by using programs like the duckling-proxy by defining a proxy in
937 eb2ed626 2021-10-07 op .Pa ~/.config/telescope/config :
938 984245ce 2021-06-23 op .Bd -literal -offset indent
939 a0c41865 2021-07-20 op proxy http via "gemini://127.0.0.1:1965"
940 a0c41865 2021-07-20 op proxy https via "gemini://127.0.0.1:1965"
941 74ca8ef4 2021-06-19 op .Ed
942 19f9cf0f 2021-06-24 op .Pp
943 19f9cf0f 2021-06-24 op To load
944 19f9cf0f 2021-06-24 op .Nm
945 7ee780fa 2021-07-21 op without any configuration
946 19f9cf0f 2021-06-24 op .Bd -literal -offset indent
947 19f9cf0f 2021-06-24 op telescope -c /dev/null
948 19f9cf0f 2021-06-24 op .Ed
949 73389b00 2021-10-08 op .Sh STANDARDS
950 73389b00 2021-10-08 op .Rs
951 73389b00 2021-10-08 op .%B XDG Base Directory Specification
952 73389b00 2021-10-08 op .%U https://specifications.freedesktop.org/basedir-spec/latest/
953 73389b00 2021-10-08 op .Re
954 bba111bc 2021-03-28 op .Sh AUTHORS
955 bba111bc 2021-03-28 op .An -nosplit
956 bba111bc 2021-03-28 op The
957 bba111bc 2021-03-28 op .Nm
958 bba111bc 2021-03-28 op program was written by
959 bba111bc 2021-03-28 op .An Omar Polo Aq Mt op@omarpolo.com .
960 7ee780fa 2021-07-21 op .Sh BUGS
961 7ee780fa 2021-07-21 op There's no UI for out-of-band certificates validation.