From 561faf537c651562c0dc9322049e77f03d951654 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Mon, 24 Nov 2025 22:50:59 -0800 Subject: [PATCH] Updating docs. --- ke.1 | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/ke.1 b/ke.1 index 9441780..2765312 100644 --- a/ke.1 +++ b/ke.1 @@ -19,21 +19,26 @@ is K-command mode is entered using C-k. This is taken from Wordstar and just so happens to be blessed with starting with a most excellent letter of grandeur. Many commands work with and without control; for example, -saving a file can be done with either C-k s or C-k C-s. -.Pp +saving a file can be done with either C-k s or C-k C-s. Other commands work +with ESC or CTRL. +.Sh K-COMMANDS .Bl -tag -width xxxxxxxxxxxx -offset indent .It C-k BACKSPACE Delete from the cursor to the beginning of the line. +.It C-k SPACE +Toggle the mark. .It C-k d Delete from the cursor to the end of the line. .It C-k C-d -Delete the entire link. +Delete the entire line. .It C-k e Edit a new file. Also C-k C-e. .It C-k f Incremental find. .It C-k g Go to a specific line. Also C-k C-g. +.It C-k l +List the number of lines of code in a saved file. .It C-k m Run make(1). .It C-k q @@ -47,6 +52,28 @@ Yank the killring. .It C-k \[char92] Dump core. .El +.Sh OTHER KEYBINDINGS +.Bl -tag -width xxxxxxxxxxxx -offset indent +.It C-l +Refresh the display. +.It C-s +Incremental find. +.It C-w +Kill the region if the mark is set. +.It C-y +Yank the killring. +.It ESC BACKSPACE +Delete the previous word. +.It ESC b +Move to the previous word. +.It ESC d +Delete the next word. +.It ESC f +Move to the next word. +.It ESC w +Save the region (if the mark is set) to the killring. +.It +.El .Sh FIND The find operation is an incremental search. The up or left arrow keys will go to the previous result, while the down or right arrow keys will go to