aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-25 17:23:20 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-25 17:56:22 +0200
commit4e60bd39282651d83d7b431239225b1371419b21 (patch)
treeb5f449d6d4c557402d6617dcee568520cd2e6274 /config.def.h
parent830a19f6675fc0e18934afa98fbed0b0dfd48c6e (diff)
downloadvis-4e60bd39282651d83d7b431239225b1371419b21.tar.gz
vis-4e60bd39282651d83d7b431239225b1371419b21.tar.xz
Exit command prompt if last character is deleted
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 145c1f1..876e4a4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -456,6 +456,7 @@ static KeyBinding vis_mode_readline[] = {
};
static KeyBinding vis_mode_prompt[] = {
+ BACKSPACE( prompt_backspace, s, NULL ),
{ { KEY(ENTER) }, prompt_enter, { NULL } },
{ { CONTROL('J') }, prompt_enter, { NULL } },
{ { KEY(UP) }, prompt_up, { NULL } },