v0.26.0 df1db36

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