[gnome-builder/wip/gtk4-port: 889/1774] libide/gui: add alt+n accels in capture for pages
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 889/1774] libide/gui: add alt+n accels in capture for pages
- Date: Mon, 11 Jul 2022 22:31:27 +0000 (UTC)
commit 99b8b4d318840f2488768470c4a5563a88e93ab6
Author: Christian Hergert <chergert redhat com>
Date: Fri May 6 10:04:23 2022 -0700
libide/gui: add alt+n accels in capture for pages
src/libide/gui/gtk/keybindings.json | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/src/libide/gui/gtk/keybindings.json b/src/libide/gui/gtk/keybindings.json
index c567fd31c..9a311afc7 100644
--- a/src/libide/gui/gtk/keybindings.json
+++ b/src/libide/gui/gtk/keybindings.json
@@ -4,6 +4,18 @@
{ "trigger" : "<Control><Alt>t", "action" : "win.new-terminal-in-runner", "when" : "typeof(workspace) !=
typeof(Ide.GreeterWorkspace)", "phase" : "capture" },
{ "trigger" : "<Control>n", "action" : "editorui.new-file", "when" : "typeof(workspace) !=
typeof(Ide.GreeterWorkspace)", "phase" : "bubble" },
+/* Switching pages in editor */
+{ "trigger" : "<Alt>1", "action" : "frame.page", "args" : "1", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>2", "action" : "frame.page", "args" : "2", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>3", "action" : "frame.page", "args" : "3", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>4", "action" : "frame.page", "args" : "4", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>5", "action" : "frame.page", "args" : "5", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>6", "action" : "frame.page", "args" : "6", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>7", "action" : "frame.page", "args" : "7", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>8", "action" : "frame.page", "args" : "8", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+{ "trigger" : "<Alt>9", "action" : "frame.page", "args" : "9", "when" :
"focus.get_ancestor(typeof(Ide.Frame)) != null", "phase" : "capture" },
+
+
/* IdeTerminal */
{ "trigger" : "<Control><Shift>c", "action" : "terminal.copy-clipboard", "when" :
"typeof(focus).is_a(typeof(Ide.Terminal))", "phase" : "capture" },
{ "trigger" : "<Control><Shift>v", "action" : "terminal.paste-clipboard", "when" :
"typeof(focus).is_a(typeof(Ide.Terminal))", "phase" : "capture" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]