[gnome-builder/wip/gtk4-port: 888/1774] libide/gui: add terminal bindings
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 888/1774] libide/gui: add terminal bindings
- Date: Mon, 11 Jul 2022 22:31:27 +0000 (UTC)
commit 0f7728f3ef7fb0b3fd444ca0e6a52270b6a7c776
Author: Christian Hergert <chergert redhat com>
Date: Fri May 6 09:30:39 2022 -0700
libide/gui: add terminal bindings
It would be nice if we could auto load resources from various libraries
so these keybindings could live in the module where they affect things.
But that requires first putting together the bundle loading into something
more abstract than IdeWorkbench directly.
src/libide/gui/gtk/keybindings.json | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/libide/gui/gtk/keybindings.json b/src/libide/gui/gtk/keybindings.json
index 0a7144bb2..c567fd31c 100644
--- a/src/libide/gui/gtk/keybindings.json
+++ b/src/libide/gui/gtk/keybindings.json
@@ -4,3 +4,7 @@
{ "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" },
+/* 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" },
+{ "trigger" : "<Control><Shift>f", "action" : "terminal.search-reveal", "when" :
"typeof(focus).is_a(typeof(Ide.Terminal))", "phase" : "capture" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]