From bab5eeb808afb9c5f9132b413dd1b5e70b01ab58 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 21 Oct 2018 16:44:14 +0200 Subject: [PATCH] bindings: allow using to exit from the linter Understand the key as: "Enter into editing mode on the current line". --- src/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index 3f1da94f..514cee50 100644 --- a/src/text.c +++ b/src/text.c @@ -3273,7 +3273,7 @@ void do_linter(void) func = func_from_key(&kbinput); tmplint = curlint; - if (func == do_cancel) + if (func == do_cancel || func == do_enter) break; else if (func == do_help_void) { tmplint = NULL;