aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-11 00:00:22 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-11 00:00:22 +0200
commitc6657192ffc40a6a8375e4e65f760935c12eecd7 (patch)
tree7459821b844c5e77691e40e296842e7f5c353913
parent23ce30bc18ef8a5e9830dabed66b02699c2c04ed (diff)
downloadvis-c6657192ffc40a6a8375e4e65f760935c12eecd7.tar.gz
vis-c6657192ffc40a6a8375e4e65f760935c12eecd7.tar.xz
Add readline Ctrl+U binding
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 4df8103..ca4ed35 100644
--- a/config.def.h
+++ b/config.def.h
@@ -388,6 +388,7 @@ static KeyBinding vis_readline_mode[] = {
BACKSPACE( call, f, editor_backspace_key ),
{ { CONTROL('D') }, call, { .f = editor_delete_key } },
{ { CONTROL('W') }, delete, { .i = MOVE_WORD_START_PREV } },
+ { { CONTROL('U') }, delete, { .i = MOVE_LINE_BEGIN } },
{ /* empty last element, array terminator */ },
};