From 3478438df592bd7e50cde14ace7ce85228724897 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 30 Mar 2022 20:59:21 +0300 Subject: [PATCH 1/2] Add all missing key bindings to man page --- docs/profanity.1 | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/profanity.1 b/docs/profanity.1 index beb17d8b..de4b7066 100644 --- a/docs/profanity.1 +++ b/docs/profanity.1 @@ -41,8 +41,17 @@ Specify which theme to use. .I THEME must be one of the themes installed in $XDG_CONFIG_HOME/profanity/themes .SH KEYBINDINGS -.BI ALT+1..Alt-0 -Choose window 1..0. +.TP +.BR Tab , " Shift+Tab" +Tab completion next, previous. Works for commands, nicks and +quotes (when input line starts with +.BR > ). +.TP +.BR ALT+1..Alt-0 " or " F1..F10 +Choose window 1..10. +.TP +.BR ALT+q..Alt-p " (in QWERTY layout)" +Choose window 11..20. .TP .BI ALT+LEFT Choose previous chat window. @@ -70,6 +79,14 @@ Mark current window for later reading with an attention flag. .TP .BI ALT+m Switch between windows marked with the attention flag. +.TP +.BI ALT+c +Run external editor (see +.BR profanity-editor (1)) +for current input line. +.TP +.BI CTRL+DOWN +Store current input line in history but do not execute it. .SH USING PROFANITY The user guide can be found at . .SH SEE ALSO From 66bd0416176767712e88c021031c5b4af7017ba3 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 30 Mar 2022 21:01:40 +0300 Subject: [PATCH 2/2] Improve manpage formatting a bit --- docs/profanity.1 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/profanity.1 b/docs/profanity.1 index de4b7066..b2f4bb13 100644 --- a/docs/profanity.1 +++ b/docs/profanity.1 @@ -91,9 +91,14 @@ Store current input line in history but do not execute it. The user guide can be found at . .SH SEE ALSO .B Profanity -itself has a lot of built\-in help. Check the /help command for more information. -Type "/help help" for information on how to use help itself. -Profanity ships with one man page for each built-in command. For /account there is man profanity-account. +itself has a lot of built\-in help. Check the +.I /help +command for more information. Type "/help help" for information +on how to use help itself. Profanity ships with one man page for +each built-in command, e.g. there is +.BR profanity-account (1) +for +.IR /account . .SH CONFIGURATION Configuration for .B Profanity