[gnome-builder] libide/gui: move control+n keybinding to editorui
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/gui: move control+n keybinding to editorui
- Date: Sun, 31 Jul 2022 00:34:50 +0000 (UTC)
commit 7cdf45e4a7e153d25455123e73a4d30276a9c789
Author: Christian Hergert <chergert redhat com>
Date: Sat Jul 30 17:31:37 2022 -0700
libide/gui: move control+n keybinding to editorui
Since that is where it is implemented anyway.
src/libide/gui/gtk/keybindings.json | 4 ----
src/plugins/editorui/gtk/keybindings.json | 3 ++-
2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/libide/gui/gtk/keybindings.json b/src/libide/gui/gtk/keybindings.json
index b05a4e3e9..b46206847 100644
--- a/src/libide/gui/gtk/keybindings.json
+++ b/src/libide/gui/gtk/keybindings.json
@@ -6,10 +6,6 @@
{ "trigger" : "<Control>n", "action" : "search.move", "args" : "1", "when" : "inPopoverSearch()", "phase" :
"capture" },
{ "trigger" : "<Control>p", "action" : "search.move", "args" : "-1", "when" : "inPopoverSearch()", "phase" :
"capture" },
-
-/* New Files */
-{ "trigger" : "<Control>n", "action" : "editorui.new-file", "when" : "canEdit()", "phase" : "bubble" },
-
/* Open Files */
{ "trigger" : "<Control>o", "action" : "context.workbench.open", "when" : "canEdit()", "phase" : "bubble" },
diff --git a/src/plugins/editorui/gtk/keybindings.json b/src/plugins/editorui/gtk/keybindings.json
index aa77c1e93..efe7896a9 100644
--- a/src/plugins/editorui/gtk/keybindings.json
+++ b/src/plugins/editorui/gtk/keybindings.json
@@ -1,6 +1,7 @@
{ "trigger" : "<Control>i", "action" : "editorui.show-go-to-line", "when" : "canEdit()", "phase" : "capture"
},
-{ "trigger" : "<Shift><Alt>f", "action": "editorui.format", "when" : "canEdit()", "phase" : "capture" },
+{ "trigger" : "<Shift><Alt>f", "action": "page.editor.format", "when" : "canEdit()", "phase" : "capture" },
{ "trigger" : "<Control>f", "action" : "page.search.begin-find", "when" : "canEdit()", "phase" : "bubble" },
{ "trigger" : "<Control>h", "action" : "page.search.begin-replace", "when" : "canEdit()", "phase" : "bubble"
},
{ "trigger" : "<Control>s", "action" : "page.save", "when" : "canEdit()", "phase" : "capture" },
{ "trigger" : "<Control><Shift>s", "action" : "page.save-as", "when" : "canEdit()", "phase" : "capture" },
+{ "trigger" : "<Control>n", "action" : "workspace.editorui.page.new", "when" : "canEdit()", "phase" :
"bubble" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]