[gnome-builder/wip/gtk4-port] keybindings: add new-file binding



commit 4f009bdba71e374b738256632fa71b0695dd6f71
Author: Christian Hergert <chergert redhat com>
Date:   Thu May 5 21:12:52 2022 -0700

    keybindings: add new-file binding

 src/libide/gui/gtk/keybindings.json | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/gui/gtk/keybindings.json b/src/libide/gui/gtk/keybindings.json
index 2d7f7c9a7..0a7144bb2 100644
--- a/src/libide/gui/gtk/keybindings.json
+++ b/src/libide/gui/gtk/keybindings.json
@@ -2,4 +2,5 @@
 { "trigger" : "<Control><Shift>t", "action" : "win.new-terminal", "when" : "typeof(workspace) != 
typeof(Ide.GreeterWorkspace)", "phase" : "capture" },
 { "trigger" : "<Control><Alt><Shift>t", "action" : "win.new-terminal-in-config", "when" : "typeof(workspace) 
!= typeof(Ide.GreeterWorkspace)", "phase" : "capture" },
 { "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" },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]