From faac32e0f8404955c764324c075e7a3aa6709b35 Mon Sep 17 00:00:00 2001 From: Humza Shahid Date: Mon, 1 Sep 2025 12:01:54 +0100 Subject: [PATCH] add note about unhandled keys in normal mode --- fcore/normal-mode/normal-mode.sml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fcore/normal-mode/normal-mode.sml b/fcore/normal-mode/normal-mode.sml index 18a4f08..8c999cc 100644 --- a/fcore/normal-mode/normal-mode.sml +++ b/fcore/normal-mode/normal-mode.sml @@ -265,9 +265,14 @@ struct NormalFinish.resizeText (app, width, height) | WITH_SEARCH_LIST searchList => NormalFinish.withSearchList (app, searchList) + + (* Don't need to handle these keys in normal mode. + * Everything that is possible through them in Vi and Vim + * is also possible through other keys, + * and it is better to use those othe keys to encourage + * staying on the home row. *) | KEY_ENTER => app | KEY_BACKSPACE => app - (* todo *) | ARROW_RIGHT => app | ARROW_LEFT => app | ARROW_UP => app