File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -7,30 +7,30 @@ navigation:
77
88npmx.dev supports keyboard navigation for faster browsing.
99
10- ## Use global shortcuts
10+ ## Global shortcuts
1111
12- | Key | Action |
13- | --- | ---------------- |
14- | ` / ` | Focus search bar |
15- | ` . ` | Open code viewer |
12+ | Key | Action |
13+ | --- | ------------------------ |
14+ | ` / ` | Focus search bar |
15+ | ` ? ` | Highlight keyboard hints |
16+ | ` , ` | Open settings |
17+ | ` c ` | Open compare |
18+
19+ :: tip
20+ These shortcuts work anywhere on the site. Press ` / ` from any page to quickly search for a package.
21+ ::
1622
17- ## Navigate search results
23+ ## Search results
1824
1925| Key | Action |
2026| ------------------------- | --------------------- |
2127| ` Arrow Up ` / ` Arrow Down ` | Move through results |
2228| ` Enter ` | Open selected package |
2329
24- ## Browse code
25-
26- When in the code viewer:
30+ ## Package page
2731
28- | Key | Action |
29- | ------------------------- | ------------------ |
30- | ` Arrow Up ` / ` Arrow Down ` | Navigate file tree |
31- | ` Enter ` | Open selected file |
32- | ` Escape ` | Close code viewer |
33-
34- :: tip
35- These shortcuts work anywhere on the site. Press ` / ` from any page to quickly search for a package.
36- ::
32+ | Key | Action |
33+ | --- | ---------------- |
34+ | ` . ` | Open code viewer |
35+ | ` d ` | Open docs |
36+ | ` c ` | Compare package |
You can’t perform that action at this time.
0 commit comments