From 26a3c0c8251fd060b515aafe588dea844a20096c Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 17 Oct 2021 11:58:06 +0200
Subject: sdgui: bind ^W as in Readline
---
src/sdgui.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
(limited to 'src/sdgui.c')
diff --git a/src/sdgui.c b/src/sdgui.c
index 7c111df..b270044 100644
--- a/src/sdgui.c
+++ b/src/sdgui.c
@@ -250,6 +250,12 @@ main (int argc, char *argv[])
// All the named colours have been there since GNOME 3.4
// (see gnome-extra-themes git history, Adwaita used to live there).
const char *style = "notebook header tab { padding: 2px 8px; margin: 0; }"
+ // `gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"`
+ // isn't quite what I want, and note that ^U works by default
+ "@binding-set Readline {"
+ "bind '