From 6ff6caf67b9c06780168dd419177b8d5168fed49 Mon Sep 17 00:00:00 2001 From: Adam Saponara Date: Sat, 23 Nov 2024 13:20:41 -0500 Subject: [PATCH] allow quick recall of prev isearch by inputting C-r twice --- editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/editor.c b/editor.c index bc3514f..28b824f 100644 --- a/editor.c +++ b/editor.c @@ -1998,6 +1998,7 @@ static void _editor_init_kmaps(editor_t *editor) { MLE_KBINDING_DEF("_editor_prompt_input_submit", "C-c"), MLE_KBINDING_DEF("_editor_prompt_input_submit", "C-x"), MLE_KBINDING_DEF("_editor_prompt_input_submit", "M-c"), + MLE_KBINDING_DEF("_editor_prompt_history_up", "C-r"), MLE_KBINDING_DEF("_editor_prompt_history_up", "C-p"), MLE_KBINDING_DEF("_editor_prompt_history_down", "C-n"), MLE_KBINDING_DEF(NULL, NULL)