[gnome-builder] keybindings: fix close action in default and emacs modes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] keybindings: fix close action in default and emacs modes
- Date: Fri, 27 Mar 2015 03:15:45 +0000 (UTC)
commit 28781d8e52b0193517182840e05c3bef0ef06b2f
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 26 20:15:40 2015 -0700
keybindings: fix close action in default and emacs modes
data/keybindings/default.css | 1 +
data/keybindings/emacs.css | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/data/keybindings/default.css b/data/keybindings/default.css
index d7f7b70..690b740 100644
--- a/data/keybindings/default.css
+++ b/data/keybindings/default.css
@@ -10,6 +10,7 @@
bind "<ctrl><shift>s" { "action" ("view", "save-as", "") };
bind "<alt><shift>Left" { "action" ("navigation", "go-backward", "") };
bind "<alt><shift>Right" { "action" ("navigation", "go-forward", "") };
+ bind "<ctrl>w" { "action" ("view", "close", "") };
/* cycle "tabs" */
bind "<ctrl>Page_Up" { "action" ("view-stack", "previous-view", "") };
diff --git a/data/keybindings/emacs.css b/data/keybindings/emacs.css
index fc2b96b..bd80781 100644
--- a/data/keybindings/emacs.css
+++ b/data/keybindings/emacs.css
@@ -91,8 +91,8 @@
@binding-set builder-emacs-source-view-x
{
bind "<ctrl>c" { "action" ("app", "quit", "") };
- bind "0" { "action" ("stack", "close", "") };
- bind "k" { "action" ("stack", "close", "") };
+ bind "0" { "action" ("view", "close", "") };
+ bind "k" { "action" ("view", "close", "") };
bind "<ctrl>f" { "action" ("workbench", "open", "") };
bind "<ctrl>s" { "action" ("view", "save", "") };
bind "s" { "action" ("win", "save-all", "") };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]