From 8ffa6f74520d0b0b667fefcd9ceb3d51a3b687e7 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 30 Mar 2022 22:41:49 +0300 Subject: [PATCH] Document custom input configuration in man page --- docs/profanity.1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/profanity.1 b/docs/profanity.1 index b2f4bb13..42fe50dc 100644 --- a/docs/profanity.1 +++ b/docs/profanity.1 @@ -87,6 +87,18 @@ for current input line. .TP .BI CTRL+DOWN Store current input line in history but do not execute it. +.PP +.I Note: +Profanity is using GNU Readline library to handle input so +default configuration file +.I ~/.inputrc +affects operation. In addition to that +.I $XDG_CONFIG_HOME/profanity/inputrc +is read after all default keybindigs are set so one can override +or add settings there. For reference, see Readline documentation: +.I "info readline ""Command Line Editing"" ""Readline Init File"" ""Readline Init File Syntax""" +and the list of available Profanity commands in +.IR inputwin.c . .SH USING PROFANITY The user guide can be found at . .SH SEE ALSO