Skip to content

Commit 1c381e0

Browse files
fix ctrl+r
Signed-off-by: Nikita Skrynnik <[email protected]>
1 parent 402d2de commit 1c381e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/state/shortcuts.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class Shortcuts {
3838

3939
this.shortcuts.set(`${modifier}+t`, "newTab");
4040
this.shortcuts.set(`${modifier}+w`, "closeTab");
41+
this.shortcuts.set(`${modifier}+r`, "reload");
4142
this.shortcuts.set(`${modifier}+a`, "selectAll");
4243
this.shortcuts.set(`${modifier}+c`, "copy");
4344
this.shortcuts.set(`${modifier}+v`, "paste");
@@ -51,6 +52,7 @@ export class Shortcuts {
5152

5253
this.actions.set("newTab", { ctx: "global", execute: () => app.newTab() });
5354
this.actions.set("closeTab", { ctx: "global", execute: () => app.getActiveTab()?.close() });
55+
this.actions.set("reload", { ctx: "webpage", execute: () => app.getActiveTab()?.reload() });
5456
this.actions.set("selectAll", { ctx: "webpage", execute: () => app.getActiveTab()?.selectAll() });
5557
this.actions.set("copy", { ctx: "webpage", execute: () => app.getActiveTab()?.copy() });
5658
this.actions.set("paste", { ctx: "webpage", execute: () => app.getActiveTab()?.paste() });

0 commit comments

Comments
 (0)