commit 6dd484ff2d2a417037e56a205fc5ae22adaa6335
parent 5b8b8e3920d8e9a574a55e65a33b96c8d8e23ba4
Author: Tom Schwindl <schwindl@posteo.de>
Date: Wed, 11 Jan 2023 08:56:10 +0100
lchat.1: mention modes briefly
Diffstat:
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/lchat.1 b/lchat.1
@@ -12,6 +12,7 @@
.Op Fl t Ar title
.Op Fl i Ar in
.Op Fl o Ar out
+.Op Fl m Ar mode
.Op directory
.Sh DESCRIPTION
The
@@ -69,6 +70,14 @@ as out-file.
Default is 'out'.
This overrides
.Ar directory .
+.It Fl m Ar mode
+Use the specified
+.Ar mode .
+Currently, the only valid argument is
+.Ar emacs .
+See
+.Sy MODES
+for more information
.It Ar directory
Uses
.Ar directory
@@ -89,6 +98,13 @@ contains the prompt string.
.It .title
contains the terminal window title.
.El
+.Sh MODES
+.Nm
+is able to interpret keypresses differently depending on the mode it is
+operating in. Each mode defines a set of keybindings and corresponding actions.
+The mode cannot be changed while
+.Nm
+is running.
.Sh SEE ALSO
.Xr ii 1 ,
.Xr tail 1