[gnome-builder] emacs: add minimal <ctrl>q for raw keycode
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] emacs: add minimal <ctrl>q for raw keycode
- Date: Sun, 11 Oct 2015 02:19:06 +0000 (UTC)
commit 2870c8c2bb9e7d8f5f5163572f2fc5214cf6fe42
Author: Christian Hergert <chergert redhat com>
Date: Sat Oct 10 22:14:33 2015 -0400
emacs: add minimal <ctrl>q for raw keycode
This doesn't work for very much, because we strip modifier keys, but it
does help for inserting tab/esc/backspace/etc.
data/keybindings/emacs.css | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/data/keybindings/emacs.css b/data/keybindings/emacs.css
index 5f537a1..d586c2d 100644
--- a/data/keybindings/emacs.css
+++ b/data/keybindings/emacs.css
@@ -72,6 +72,11 @@
bind "<ctrl>equal" { "increase-font-size" () };
bind "<ctrl>0" { "reset-font-size" () };
+ /* allow entering raw code */
+ bind "<ctrl>q" { "capture-modifier" ()
+ "insert-modifier" (0)
+ "clear-modifier" () };
+
/* swap between header/source */
bind "<alt>o" { "action" ("view", "find-other-file", "") };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]