diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-15 13:56:35 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-13 23:03:49 +0100 |
| commit | 6d86dc94cffee3fcda48f634fb05556cb861b0b5 (patch) | |
| tree | 6d39cde4af5c4f0de02080046ced36fdfe1f402b /config.def.h | |
| parent | 5d54271403b1a90ed7ef81894ea0ff91d7a8c5f6 (diff) | |
| download | vis-6d86dc94cffee3fcda48f634fb05556cb861b0b5.tar.gz vis-6d86dc94cffee3fcda48f634fb05556cb861b0b5.tar.xz | |
Implement command/search prompt history as a regular file
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/config.def.h b/config.def.h index 73a0193..a40924a 100644 --- a/config.def.h +++ b/config.def.h @@ -275,15 +275,6 @@ static const KeyBinding bindings_readline[] = { { 0 /* empty last element, array terminator */ }, }; -static const KeyBinding bindings_prompt[] = { - { "<Backspace>", ACTION(PROMPT_BACKSPACE) }, - { "<C-h>", ALIAS("<Backspace>") }, - { "<Enter>", ACTION(PROMPT_ENTER) }, - { "<C-j>", ALIAS("<Enter>") }, - { "<Tab>", ACTION(NOP) }, - { 0 /* empty last element, array terminator */ }, -}; - static const KeyBinding bindings_insert[] = { { "<Escape>", ACTION(MODE_NORMAL) }, { "<C-c>", ALIAS("<Escape>") }, @@ -353,10 +344,4 @@ static const KeyBinding **default_bindings[] = { bindings_basic, NULL, }, - [VIS_MODE_PROMPT] = (const KeyBinding*[]){ - bindings_prompt, - bindings_readline, - bindings_basic, - NULL, - }, }; |
