summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrhun Parmaksız <orhunparmaksiz@gmail.com>2022-05-28 00:53:05 +0300
committerOrhun Parmaksız <orhunparmaksiz@gmail.com>2022-05-28 00:53:05 +0300
commit37d701ef5a564bd2b688670c582ddb4a6843a60e (patch)
tree75f5f061231048977066afcba4f91bd5c3408738
parent60b46c612f979105d5c673dfe9c99a31ce93cfa9 (diff)
docs: Update man page about custom key bindings
-rw-r--r--man/gpg-tui.toml.56
1 files changed, 6 insertions, 0 deletions
diff --git a/man/gpg-tui.toml.5 b/man/gpg-tui.toml.5
index 7b5872b..927f06f 100644
--- a/man/gpg-tui.toml.5
+++ b/man/gpg-tui.toml.5
@@ -39,6 +39,8 @@ Section for general settings.
\fBstyle\fP: set the style of the terminal (default: plain) (possible values: plain, colored)
.IP \(bu 2
\fBfile_explorer\fP: set the utility for file selection (default: xplr)
+.IP \(bu 2
+\fBkey_bindings\fP: list of custom key bindings
.RE
@@ -74,6 +76,10 @@ The following is a complete \fBgpg-tui.toml\fP default configuration example:
color = "gray"
style = "plain"
file_explorer = "xplr"
+ key_bindings = [
+ { keys = [ "?", "h", "f1" ], command = ":help" },
+ { keys = [ "C-d", "C-c", "q" ], command = ":quit" },
+ ]
[gpg]
armor = false