8 lines · 383 B · TypeScript
RawDownload
import { contextBridge, ipcRenderer } from "electron"; contextBridge.exposeInMainWorld("electronAPI", {  selectScope: () => ipcRenderer.invoke("select-scope"),  getCurrentScope: () => ipcRenderer.invoke("get-current-scope"),  getRecentScopes: () => ipcRenderer.invoke("get-recent-scopes"),  switchScope: (scopePath: string) => ipcRenderer.invoke("switch-scope", scopePath),});

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t