commit feafabfe8d714cc8d08d0000a91a7a6e8baf8492
parent 5399fee446a34094adbe8173734eff0a061a3433
Author: lumidify <nobody@lumidify.org>
Date: Sat, 28 May 2022 16:33:44 +0200
Fix small manpage error
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/keys_basic.c b/keys_basic.c
@@ -2652,6 +2652,9 @@ basic_key_handler(ledit_view *view, XEvent *event, int lang_index) {
if (found && (flags & KEY_FLAG_JUMP_TO_CURSOR))
view_ensure_cursor_shown(view);
+ /* FIXME: this also doesn't show real invalid keys in insert mode
+ -> it needs to be this way to avoid showing anything on modifier
+ keys, but maybe it should just check explicitly for modifier keys? */
if (!found && n > 0) {
window_show_message(view->window, "Invalid key", -1);
discard_repetition_stack();
diff --git a/leditrc.5 b/leditrc.5
@@ -403,7 +403,7 @@ Note that no regex is currently supported.
.It Ar enter-searchedit-forwards Op normal, insert
Open the line editor for searching forwards.
Note that no regex is currently supported.
-.It Ar enter-visual Op normal
+.It Ar enter-visual Op normal, insert
Enter visual mode.
.It Ar return-to-normal Op normal, visual, insert
Return to normal mode.