MCPcopy Index your code
hub / github.com/refined-github/refined-github / addShortcut

Function addShortcut

source/features/one-click-diff-options.tsx:27–29  ·  view source on GitHub ↗
(signal: AbortSignal)

Source from the content-addressed store, hash-verified

25}
26
27function addShortcut(signal: AbortSignal): void {
28 registerHotkey('d w', getAlternateUrl(), {signal});
29}
30
31function attachButtons(nativeDiffButtons: HTMLElement): void {
32 nativeDiffButtons.parentElement!.after(

Callers

nothing calls this directly

Calls 2

registerHotkeyFunction · 0.85
getAlternateUrlFunction · 0.85

Tested by

no test coverage detected