v0.34.0 7c1886f

commit-trojan.html RawHistoryFolder

1<!doctype html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<meta name="color-scheme" content="light dark">
7<title>SHA7 add evil.go · diffs · example.test</title>
8<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
9<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0c0c0c">
10<meta name="apple-mobile-web-app-title" content="ermite">
11<link rel="icon" type="image/svg+xml" href="/-/static/img/icon.HASH.svg">
12<link rel="apple-touch-icon" href="/-/static/app/apple-touch-icon.HASH.png">
13<link rel="manifest" href="/-/static/app/manifest.HASH.webmanifest">
14<link rel="preload" href="/-/static/fonts/atkinson-next.HASH.woff2" as="font" type="font/woff2" crossorigin>
15<link rel="stylesheet" href="/-/static/css/ermite.HASH.css">
16<meta name="htmx-config" content='{"history":false,"includeIndicatorCSS":false,"extensions":"sse, hx-live"}'>
17<script src="/-/static/js/htmx.min.HASH.js" defer>
18</script>
19<script src="/-/static/js/hx-live.min.HASH.js" defer>
20</script>
21<script src="/-/static/js/hx-sse.min.HASH.js" defer>
22</script>
23<script src="/-/static/js/store.HASH.js">
24</script>
25<script src="/-/static/js/ermite.HASH.js" defer>
26</script>
27<script src="/-/static/js/files.HASH.js" defer>
28</script>
29<script src="/-/static/js/passkey.HASH.js" defer>
30</script>
31<script src="/-/static/js/log.HASH.js" defer>
32</script>
33<script src="/-/static/js/lazy.HASH.js" defer>
34</script>
35</head>
36<body data-ref="" data-sha="SHA40" data-sel="" data-nav="" data-paths="/diffs/paths/SHA40" data-blob="/diffs/blob/SHA40">
37<a class="skip" href="#main">skip to content</a>
38<header class="hdr">
39<div class="hdr-top">
40<a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
41<span class="brand-mark" aria-hidden="true">
42</span>
43</a>
44<nav class="crumbs" aria-label="Path">
45<ol>
46<li>
47<a href="/diffs">diffs</a>
48</li>
49<li>
50<a href="/diffs/commits/main">commit</a>
51</li>
52<li>
53<span aria-current="page">SHA7</span>
54</li>
55</ol>
56</nav>
57<div class="hdr-acts">
58<a class="btn ref" href="/diffs/refs" data-fire="refs" aria-keyshortcuts="b" title="switch branch or tag (b)">
59<span class="ico i-branch" aria-hidden="true">
60</span>
61<span class="ref-name">detached</span>
62<span class="sha">SHA7</span>
63</a>
64<button type="button" class="btn search" data-js aria-haspopup="dialog" aria-controls="panel-cmd" aria-keyshortcuts="Control+K :" title="go to a section, ref, file or repo (ctrl k or :)" data-fire="cmd">
65<span class="ico i-search" aria-hidden="true">
66</span>
67<span class="search-label">Go to…</span>
68<kbd aria-hidden="true">ctrl k</kbd>
69</button>
70</div>
71</div>
72<nav class="tabs" aria-label="Sections">
73<ul>
74<li>
75<a href="/diffs" data-key="g s">Summary <kbd aria-hidden="true">g s</kbd>
76</a>
77</li>
78<li>
79<a href="/diffs/tree/main" data-key="g f">Files <kbd aria-hidden="true">g f</kbd>
80</a>
81</li>
82<li>
83<a href="/diffs/commits/main" data-key="g c" aria-current="page">Commits <kbd aria-hidden="true">g c</kbd>
84</a>
85</li>
86<li>
87<a href="/diffs/refs" data-key="g b">Branches &amp; tags <kbd aria-hidden="true">g b</kbd>
88</a>
89</li>
90<li>
91<a href="/diffs/merge-requests" data-key="g m">Merge requests <kbd aria-hidden="true">g m</kbd>
92</a>
93</li>
94<li>
95<a href="/diffs/releases" data-key="g r">Releases <kbd aria-hidden="true">g r</kbd>
96</a>
97</li>
98<li>
99<a href="/diffs/actions" data-key="g a">Actions <kbd aria-hidden="true">g a</kbd>
100</a>
101</li>
102</ul>
103</nav>
104</header>
105<div class="work has-rail">
106<main id="main" tabindex="-1">
107<header class="show">
108<h1>add evil.go</h1>
109<pre class="msg">looks &lt;U+202E&gt;fine&lt;U+202C&gt;</pre>
110<dl class="kv show-kv">
111<dt>commit</dt>
112<dd>SHA40</dd>
113<dt>author</dt>
114<dd>T  · <time datetime="STAMP" title="STAMP">AGO</time> · STAMP</dd>
115<dt>parent</dt>
116<dd>
117<a href="/diffs/commit/SHA40">SHA7</a>
118</dd>
119<dt>signature</dt>
120<dd>
121<span class="pill sig sig-none" title="This commit is not signed">unsigned</span>
122</dd>
123</dl>
124</header>
125<div class="diff-tools" role="group" aria-label="Diff view">
126<span class="dim">1 file · <span class="plus">+8</span>
127<span class="minus">-0</span>
128</span>
129<span class="grow">
130</span>
131<details class="menu vmenu">
132<summary class="btn" aria-label="Diff view">
133<span hx-live="this.textContent = q('#diffs').attr['data-mobile'] !== 'true' && q('#diffs').attr['data-diff'] === 'split' ? 'Split' : 'Unified'">Unified</span>
134</summary>
135<div class="menu-pop" role="group" aria-label="Diff view">
136<a href="/diffs/commit/SHA40?view=unified" class="btn vbtn" data-view="unified" aria-keyshortcuts="u" aria-current="true" data-fire="unified" :aria-current="(q('#diffs').attr['data-mobile'] === 'true' ? 'unified' : q('#diffs').attr['data-diff']) === this.dataset.view ? 'true' : false">Unified<kbd aria-hidden="true">u</kbd>
137</a>
138<a href="/diffs/commit/SHA40?view=split" class="btn vbtn" data-view="split" aria-keyshortcuts="d" :aria-disabled="q('#diffs').attr['data-mobile'] === 'true' ? 'true' : false" :title="q('#diffs').attr['data-mobile'] === 'true' ? 'Split view requires a wider screen' : 'Split view'" data-fire="split" :aria-current="(q('#diffs').attr['data-mobile'] === 'true' ? 'unified' : q('#diffs').attr['data-diff']) === this.dataset.view ? 'true' : false">Split<kbd aria-hidden="true">d</kbd>
139</a>
140<button type="button" aria-keyshortcuts="x" data-js data-fire="collapse" class="btn">
141<span hx-live="this.textContent = q('[data-file][open]').count || !q('[data-file]').count ? 'Collapse all' : 'Expand all'">Collapse all</span>
142<kbd aria-hidden="true">x</kbd>
143</button>
144</div>
145</details>
146</div>
147<p class="notice">this diff holds invisible characters (direction controls, zero-width characters). They are shown as <span class="inv">&lt;U+XXXX&gt;</span> markers, never applied.</p>
148<div id="diffs" data-diff="unified" hx-live="this.dataset.diff = sessionStorage.getItem('diff') || this.dataset.diff">
149<details class="dfile lnw-2" id="f1" data-file="evil.go" open>
150<summary>
151<span class="st">A</span>
152<span class="p">evil.go</span>
153<span class="plus">+8</span>
154<span class="minus">-0</span>
155</summary>
156<div class="dscroll">
157<table class="dt uni" aria-label="evil.go, unified">
158<tbody>
159<tr class="hunk">
160<td colspan="4">@@ -0,0 +1,8 @@</td>
161</tr>
162<tr class="add">
163<td class="ln">
164</td>
165<td class="ln">1</td>
166<td class="m">+</td>
167<td class="tx chroma">
168<span class="kn">package</span> evil</td>
169</tr>
170<tr class="add">
171<td class="ln">
172</td>
173<td class="ln">2</td>
174<td class="m">+</td>
175<td class="tx chroma">
176</td>
177</tr>
178<tr class="add">
179<td class="ln">
180</td>
181<td class="ln">3</td>
182<td class="m">+</td>
183<td class="tx chroma">
184<span class="kd">func</span> admin(user string) bool {</td>
185</tr>
186<tr class="add">
187<td class="ln">
188</td>
189<td class="ln">4</td>
190<td class="m">+</td>
191<td class="tx chroma">
192<span class="k">if</span> user == <span class="s">&#34;user</span>
193<span class="inv" title="invisible character">&lt;U+202E&gt;</span>
194<span class="s">
195</span>
196<span class="inv" title="invisible character">&lt;U+2066&gt;</span>
197<span class="s">// check</span>
198<span class="inv" title="invisible character">&lt;U+2069&gt;</span>
199<span class="s">
200</span>
201<span class="inv" title="invisible character">&lt;U+2066&gt;</span>
202<span class="s">&#34;</span> {</td>
203</tr>
204<tr class="add">
205<td class="ln">
206</td>
207<td class="ln">5</td>
208<td class="m">+</td>
209<td class="tx chroma">
210<span class="k">return</span>
211<span class="kc">true</span>
212<span class="c1">// z</span>
213<span class="inv" title="invisible character">&lt;U+200B&gt;</span>
214<span class="c1">w</span>
215</td>
216</tr>
217<tr class="add">
218<td class="ln">
219</td>
220<td class="ln">6</td>
221<td class="m">+</td>
222<td class="tx chroma">	}</td>
223</tr>
224<tr class="add">
225<td class="ln">
226</td>
227<td class="ln">7</td>
228<td class="m">+</td>
229<td class="tx chroma">
230<span class="k">return</span>
231<span class="kc">false</span>
232</td>
233</tr>
234<tr class="add">
235<td class="ln">
236</td>
237<td class="ln">8</td>
238<td class="m">+</td>
239<td class="tx chroma">}</td>
240</tr>
241</tbody>
242</table>
243<table class="dt spl" aria-label="evil.go, split">
244<colgroup>
245<col class="c-ln">
246<col class="c-m">
247<col>
248<col class="c-ln">
249<col class="c-m">
250<col>
251</colgroup>
252<tbody>
253<tr class="hunk">
254<td colspan="6">@@ -0,0 +1,8 @@</td>
255</tr>
256<tr>
257<td class="ln none">
258</td>
259<td class="m none">
260</td>
261<td class="tx none">
262</td>
263<td class="ln add">1</td>
264<td class="m add">+</td>
265<td class="tx chroma add">
266<span class="kn">package</span> evil</td>
267</tr>
268<tr>
269<td class="ln none">
270</td>
271<td class="m none">
272</td>
273<td class="tx none">
274</td>
275<td class="ln add">2</td>
276<td class="m add">+</td>
277<td class="tx chroma add">
278</td>
279</tr>
280<tr>
281<td class="ln none">
282</td>
283<td class="m none">
284</td>
285<td class="tx none">
286</td>
287<td class="ln add">3</td>
288<td class="m add">+</td>
289<td class="tx chroma add">
290<span class="kd">func</span> admin(user string) bool {</td>
291</tr>
292<tr>
293<td class="ln none">
294</td>
295<td class="m none">
296</td>
297<td class="tx none">
298</td>
299<td class="ln add">4</td>
300<td class="m add">+</td>
301<td class="tx chroma add">
302<span class="k">if</span> user == <span class="s">&#34;user</span>
303<span class="inv" title="invisible character">&lt;U+202E&gt;</span>
304<span class="s">
305</span>
306<span class="inv" title="invisible character">&lt;U+2066&gt;</span>
307<span class="s">// check</span>
308<span class="inv" title="invisible character">&lt;U+2069&gt;</span>
309<span class="s">
310</span>
311<span class="inv" title="invisible character">&lt;U+2066&gt;</span>
312<span class="s">&#34;</span> {</td>
313</tr>
314<tr>
315<td class="ln none">
316</td>
317<td class="m none">
318</td>
319<td class="tx none">
320</td>
321<td class="ln add">5</td>
322<td class="m add">+</td>
323<td class="tx chroma add">
324<span class="k">return</span>
325<span class="kc">true</span>
326<span class="c1">// z</span>
327<span class="inv" title="invisible character">&lt;U+200B&gt;</span>
328<span class="c1">w</span>
329</td>
330</tr>
331<tr>
332<td class="ln none">
333</td>
334<td class="m none">
335</td>
336<td class="tx none">
337</td>
338<td class="ln add">6</td>
339<td class="m add">+</td>
340<td class="tx chroma add">	}</td>
341</tr>
342<tr>
343<td class="ln none">
344</td>
345<td class="m none">
346</td>
347<td class="tx none">
348</td>
349<td class="ln add">7</td>
350<td class="m add">+</td>
351<td class="tx chroma add">
352<span class="k">return</span>
353<span class="kc">false</span>
354</td>
355</tr>
356<tr>
357<td class="ln none">
358</td>
359<td class="m none">
360</td>
361<td class="tx none">
362</td>
363<td class="ln add">8</td>
364<td class="m add">+</td>
365<td class="tx chroma add">}</td>
366</tr>
367</tbody>
368</table>
369</div>
370</details>
371</div>
372</main>
373<aside class="rail" aria-label="Context">
374<section aria-labelledby="r-files">
375<h2 id="r-files">Files <span class="count">1</span>
376</h2>
377<ol class="files" aria-label="Changed files">
378<li>
379<a href="#f1" title="evil.go" hx-on:click="(window.ermiteMR?.openFile || ermite.openFile)(this.hash.slice(1))">
380<span class="st" data-st="A" title="added">A</span>
381<span class="nm">
382<span class="p">evil.go</span>
383<span class="d">
384<bdi>
385</bdi>
386</span>
387</span>
388<span class="n">
389<span class="plus">+8</span>
390<span class="minus">-0</span>
391</span>
392</a>
393</li>
394</ol>
395</section>
396</aside>
397</div>
398<footer class="foot">
399<span>ermite devel</span>
400<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
401<button type="button" class="foot-keys" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?">
402<kbd aria-hidden="true">?</kbd> keyboard shortcuts</button>
403</footer>
404<div class="hint">
405<span aria-hidden="true" class="hint-nav" :text="document.body.dataset.nav || ''">
406</span>
407<span role="status" aria-live="polite">
408<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
409</span>
410<span class="hint-flash" :text="document.body.dataset.flash || ''">
411</span>
412</span>
413</div>
414<dialog id="panel-help" class="panel modal" aria-label="Keyboard shortcuts" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
415<div class="panel-head">
416<h2>Keyboard shortcuts</h2>
417<button type="button" class="panel-x" aria-label="Close (esc)" hx-on:click="closest('dialog').close()">
418<kbd>esc</kbd> close</button>
419</div>
420<div class="keys-pref">
421<label>
422<input type="checkbox" id="keys-off" aria-describedby="keys-note" hx-on:change="ermite.setKeysOff(this.checked)"> Turn off single-key shortcuts</label>
423<p id="keys-note" class="dim">Single-key shortcuts are on. ctrl k and esc work whatever this says.</p>
424</div>
425<dl class="keys">
426<div>
427<dt>
428<kbd>ctrl k</kbd>
429<kbd>:</kbd>
430</dt>
431<dd>go to a section, branch, tag, file or repository</dd>
432</div>
433<div>
434<dt>
435<kbd>?</kbd>
436</dt>
437<dd>this list</dd>
438</div>
439<div>
440<dt>
441<kbd>j</kbd>
442<kbd>k</kbd>
443</dt>
444<dd>move the row cursor down / up</dd>
445</div>
446<div>
447<dt>
448<kbd>enter</kbd>
449</dt>
450<dd>open the row under the cursor; on Files, a directory opens or closes in place</dd>
451</div>
452<div>
453<dt>
454<kbd>↑</kbd>
455<kbd>↓</kbd>
456<kbd>←</kbd>
457<kbd>→</kbd>
458<kbd>home</kbd>
459<kbd>end</kbd>
460</dt>
461<dd>in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file</dd>
462</div>
463<div>
464<dt>
465<kbd>l</kbd>
466<kbd>h</kbd>
467</dt>
468<dd>on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls</dd>
469</div>
470<div>
471<dt>
472<kbd>g g</kbd>
473<kbd>G</kbd>
474</dt>
475<dd>first / last row</dd>
476</div>
477<div>
478<dt>
479<kbd>/</kbd>
480</dt>
481<dd>filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)</dd>
482</div>
483<div>
484<dt>
485<kbd>b</kbd>
486</dt>
487<dd>switch branch or tag</dd>
488</div>
489<div>
490<dt>
491<kbd>g s</kbd>
492<kbd>g f</kbd>
493<kbd>g c</kbd>
494<kbd>g b</kbd>
495<kbd>g m</kbd>
496<kbd>g i</kbd>
497<kbd>g r</kbd>
498<kbd>g a</kbd>
499</dt>
500<dd>tabs: summary, files, commits, branches &amp; tags, merge requests, issues, releases, actions (when available)</dd>
501</div>
502<div>
503<dt>
504<kbd>g h</kbd>
505</dt>
506<dd>home</dd>
507</div>
508<div>
509<dt>
510<kbd>w</kbd>
511</dt>
512<dd>wide mode: use the whole width of the screen, or not (remembered)</dd>
513</div>
514<div>
515<dt>
516<kbd>y</kbd>
517</dt>
518<dd>copy a permalink pinned to the commit</dd>
519</div>
520<div>
521<dt>
522<kbd>d</kbd>
523<kbd>u</kbd>
524<kbd>x</kbd>
525</dt>
526<dd>diff: split / unified / collapse or expand all</dd>
527</div>
528<div>
529<dt>
530<kbd>e</kbd>
531<kbd>E</kbd>
532</dt>
533<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
534</div>
535<div>
536<dt>
537<kbd>n</kbd>
538</dt>
539<dd>merge request: next note in the diff</dd>
540</div>
541<div>
542<dt>
543<kbd>esc</kbd>
544</dt>
545<dd>close a dialog, leave a field</dd>
546</div>
547</dl>
548</dialog>
549<dialog id="panel-refs" class="panel modal" aria-label="Switch ref" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
550<div class="panel-head">
551<label for="refs-filter" class="sr">filter branches and tags</label>
552<input id="refs-filter" type="search" placeholder="Switch branch or tag…" autocomplete="off" data-pick="#panel-refs li" hx-on:input="ermite.filter(this)">
553<button type="button" class="panel-x" aria-label="Close (esc)" hx-on:click="closest('dialog').close()">
554<kbd>esc</kbd>
555</button>
556</div>
557<div class="panel-cols" data-picklist>
558<section aria-label="Branches">
559<h2>Branches <span class="count">2</span>
560</h2>
561<ul>
562<li>
563<a href="/diffs/tree/main">
564<span class="mark" aria-hidden="true">&nbsp;</span>main</a>
565</li>
566<li>
567<a href="/diffs/tree/side">
568<span class="mark" aria-hidden="true">&nbsp;</span>side</a>
569</li>
570</ul>
571</section>
572<section aria-label="Tags">
573<h2>Tags <span class="count">1</span>
574</h2>
575<ul>
576<li>
577<a href="/diffs/tree/v1.0.0">
578<span class="mark" aria-hidden="true">&nbsp;</span>v1.0.0</a>
579</li>
580</ul>
581</section>
582</div>
583</dialog>
584<dialog id="panel-cmd" class="panel modal" aria-label="Go to" hx-on:close="ermiteFinder.paletteClose()" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
585<div class="panel-head">
586<label for="cmd-q" class="sr">go to</label>
587<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="cmd-list" aria-activedescendant="cmd-o0" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
588<button type="button" class="panel-x" aria-label="Close (esc)" hx-on:click="closest('dialog').close()">
589<kbd>esc</kbd>
590</button>
591</div>
592<ul id="cmd-list" class="cmd-list" role="listbox" aria-label="Targets">
593<li id="cmd-o0" role="option" aria-selected="true" data-k="go home" data-cursor>
594<a role="presentation" data-href="/">
595<span class="lbl">home</span>
596<span class="k">go</span>
597</a>
598</li>
599<li id="cmd-o1" role="option" aria-selected="false" data-k="section summary (g s)">
600<a role="presentation" data-href="/diffs">
601<span class="lbl">summary (g s)</span>
602<span class="k">section</span>
603</a>
604</li>
605<li id="cmd-o2" role="option" aria-selected="false" data-k="section files (g f)">
606<a role="presentation" data-href="/diffs/tree/main">
607<span class="lbl">files (g f)</span>
608<span class="k">section</span>
609</a>
610</li>
611<li id="cmd-o3" role="option" aria-selected="false" data-k="section commits (g c)">
612<a role="presentation" data-href="/diffs/commits/main">
613<span class="lbl">commits (g c)</span>
614<span class="k">section</span>
615</a>
616</li>
617<li id="cmd-o4" role="option" aria-selected="false" data-k="section branches &amp; tags (g b)">
618<a role="presentation" data-href="/diffs/refs">
619<span class="lbl">branches &amp; tags (g b)</span>
620<span class="k">section</span>
621</a>
622</li>
623<li id="cmd-o5" role="option" aria-selected="false" data-k="section merge requests (g m)">
624<a role="presentation" data-href="/diffs/merge-requests">
625<span class="lbl">merge requests (g m)</span>
626<span class="k">section</span>
627</a>
628</li>
629<li id="cmd-o6" role="option" aria-selected="false" data-k="section releases (g r)">
630<a role="presentation" data-href="/diffs/releases">
631<span class="lbl">releases (g r)</span>
632<span class="k">section</span>
633</a>
634</li>
635<li id="cmd-o7" role="option" aria-selected="false" data-k="section actions (g a)">
636<a role="presentation" data-href="/diffs/actions">
637<span class="lbl">actions (g a)</span>
638<span class="k">section</span>
639</a>
640</li>
641<li id="cmd-o8" role="option" aria-selected="false" data-k="branch main">
642<a role="presentation" data-href="/diffs/tree/main">
643<span class="lbl">main</span>
644<span class="k">branch</span>
645</a>
646</li>
647<li id="cmd-o9" role="option" aria-selected="false" data-k="branch side">
648<a role="presentation" data-href="/diffs/tree/side">
649<span class="lbl">side</span>
650<span class="k">branch</span>
651</a>
652</li>
653<li id="cmd-o10" role="option" aria-selected="false" data-k="tag v1.0.0">
654<a role="presentation" data-href="/diffs/tree/v1.0.0">
655<span class="lbl">v1.0.0</span>
656<span class="k">tag</span>
657</a>
658</li>
659<li id="cmd-o11" role="option" aria-selected="false" data-k="action turn single-key shortcuts on off keyboard">
660<a role="presentation" data-fire="keys">
661<span class="lbl">turn single-key shortcuts off</span>
662<span class="k">action</span>
663</a>
664</li>
665</ul>
666<p class="panel-foot">
667<span>
668<kbd>↑</kbd>
669<kbd>↓</kbd> move</span>
670<span>
671<kbd>enter</kbd> open</span>
672<span>
673<kbd>esc</kbd> close</span>
674</p>
675</dialog>
676<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
677         k-k from:body -> ermite.move(-1);
678         k-top from:body -> ermite.edge(false);
679         k-bottom from:body -> ermite.edge(true);
680         k-open from:body -> ermite.open();
681         k-right from:body -> ermite.rail(true);
682         k-left from:body -> ermite.rail(false);
683         k-esc from:body -> ermite.closeDialogs();
684         k-help from:body -> ermite.dialog('panel-help');
685         k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
686         k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
687         k-filter from:body -> ermite.focusFilter();
688         k-gh from:body -> ermite.go('.brand');
689         k-s from:body -> ermite.tab('s');
690         k-f from:body -> ermite.tab('f');
691         k-b from:body -> ermite.tab('b');
692         k-a from:body -> ermite.tab('a');
693         k-c from:body -> ermite.tab('c');
694         k-r from:body -> ermite.tab('r');
695         k-m from:body -> ermite.tab('m');
696         k-i from:body -> ermite.tab('i');
697         k-inbox from:body -> ermite.go('[data-inbox]');
698         k-next from:body -> ermite.nextNote();
699         k-split from:body -> ermite.layout('split');
700         k-unified from:body -> ermite.layout('unified');
701         k-collapse from:body -> ermite.collapse();
702         k-wide from:body -> window.ermiteWide.toggle();
703         k-expand from:body -> ermite.expandFile();
704         k-expandAll from:body -> ermite.expandAll();
705         k-permalink from:body -> ermite.permalink();
706         k-merge from:body -> window.ermiteMR?.openMerge();
707         k-read from:body -> window.ermiteMR?.markRead();
708         k-keys from:body -> ermite.toggleKeys()">
709</div>
710</body>
711</html>

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 45

↑↓ moveenter openesc close