tFix small manpage error - ledit - Text editor (WIP) | |
git clone git://lumidify.org/ledit.git (fast, but not encrypted) | |
git clone https://lumidify.org/git/ledit.git (encrypted, but very slow) | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit feafabfe8d714cc8d08d0000a91a7a6e8baf8492 | |
parent 5399fee446a34094adbe8173734eff0a061a3433 | |
Author: lumidify <[email protected]> | |
Date: Sat, 28 May 2022 16:33:44 +0200 | |
Fix small manpage error | |
Diffstat: | |
M keys_basic.c | 3 +++ | |
M leditrc.5 | 2 +- | |
2 files changed, 4 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/keys_basic.c b/keys_basic.c | |
t@@ -2652,6 +2652,9 @@ basic_key_handler(ledit_view *view, XEvent *event, int l… | |
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 | |
t@@ -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. |