Skip to content

Commit 6ff6caf

Browse files
committed
allow quick recall of prev isearch by inputting C-r twice
1 parent b170335 commit 6ff6caf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor.c

+1
Original file line numberDiff line numberDiff line change
@@ -1998,6 +1998,7 @@ static void _editor_init_kmaps(editor_t *editor) {
19981998
MLE_KBINDING_DEF("_editor_prompt_input_submit", "C-c"),
19991999
MLE_KBINDING_DEF("_editor_prompt_input_submit", "C-x"),
20002000
MLE_KBINDING_DEF("_editor_prompt_input_submit", "M-c"),
2001+
MLE_KBINDING_DEF("_editor_prompt_history_up", "C-r"),
20012002
MLE_KBINDING_DEF("_editor_prompt_history_up", "C-p"),
20022003
MLE_KBINDING_DEF("_editor_prompt_history_down", "C-n"),
20032004
MLE_KBINDING_DEF(NULL, NULL)

0 commit comments

Comments
 (0)