From 231348597066a5c70a89c70410371d1481fb3ae6 Mon Sep 17 00:00:00 2001
From: Přemysl Eric Janouch
Date: Fri, 23 Oct 2020 01:36:30 +0200
Subject: Bind C-d in the editor
We do get these as a key, after all.
Closes #4
---
sdn.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdn.cpp b/sdn.cpp
index ec74df7..caca370 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -455,7 +455,7 @@ static map g_input_actions {
// Sometimes terminfo is wrong, we need to accept both of these
{L'\b', ACTION_INPUT_B_DELETE}, {CTRL ('?'), ACTION_INPUT_B_DELETE},
{KEY (BACKSPACE), ACTION_INPUT_B_DELETE}, {KEY (DC), ACTION_INPUT_DELETE},
- {CTRL ('U'), ACTION_INPUT_B_KILL_LINE},
+ {CTRL ('D'), ACTION_INPUT_DELETE}, {CTRL ('U'), ACTION_INPUT_B_KILL_LINE},
{CTRL ('K'), ACTION_INPUT_KILL_LINE},
{CTRL ('V'), ACTION_INPUT_QUOTED_INSERT},
{CTRL ('B'), ACTION_INPUT_BACKWARD}, {KEY (LEFT), ACTION_INPUT_BACKWARD},
--
cgit v1.2.3-70-g09d2