From 18cd608493de7e3c2a00d8ae9a2889ebc1fafd97 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 6 Nov 2017 13:47:50 +0100 Subject: [PATCH] Update docs --- doc/changelog.asciidoc | 2 ++ doc/help/commands.asciidoc | 10 ++++++++++ doc/help/settings.asciidoc | 2 ++ 3 files changed, 14 insertions(+) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index dc122af58..0b5c31b29 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -39,6 +39,8 @@ Added - New `qute-pass` userscript as alternative to `password_fill` which allows selecting accounts via rofi or any other dmenu-compatile application. - New `qt.highdpi` setting to turn on Qt's High-DPI scaling. +- New `:completion-item-yank` command (bound to ``) to yank the current + completion item text. Changed ~~~~~~~ diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 5af25a0bf..354d269b3 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -1143,6 +1143,7 @@ How many steps to zoom out. |<>|Go back in the commandline history. |<>|Delete the current completion item. |<>|Shift the focus of the completion menu to another item. +|<>|Yank the current completion item onto the clipboard. |<>|Drop selection and keep selection mode enabled. |<>|Enter a key mode. |<>|Follow a hint. @@ -1247,6 +1248,15 @@ Shift the focus of the completion menu to another item. ==== positional arguments * +'which'+: 'next', 'prev', 'next-category', or 'prev-category'. +[[completion-item-yank]] +=== completion-item-yank +Syntax: +:completion-item-yank [*--sel*]+ + +Yank the current completion item onto the clipboard. + +==== optional arguments +* +*-s*+, +*--sel*+: True to use the primary selection instead of the clipboard. + [[drop-selection]] === drop-selection Drop selection and keep selection mode enabled. diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 1ba239916..3013cbae2 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -414,6 +414,7 @@ Default: * +pass:[<Ctrl-?>]+: +pass:[rl-delete-char]+ * +pass:[<Ctrl-A>]+: +pass:[rl-beginning-of-line]+ * +pass:[<Ctrl-B>]+: +pass:[rl-backward-char]+ +* +pass:[<Ctrl-C>]+: +pass:[completion-item-yank]+ * +pass:[<Ctrl-D>]+: +pass:[completion-item-del]+ * +pass:[<Ctrl-E>]+: +pass:[rl-end-of-line]+ * +pass:[<Ctrl-F>]+: +pass:[rl-forward-char]+ @@ -421,6 +422,7 @@ Default: * +pass:[<Ctrl-K>]+: +pass:[rl-kill-line]+ * +pass:[<Ctrl-N>]+: +pass:[command-history-next]+ * +pass:[<Ctrl-P>]+: +pass:[command-history-prev]+ +* +pass:[<Ctrl-Shift-C>]+: +pass:[completion-item-yank --sel]+ * +pass:[<Ctrl-Shift-Tab>]+: +pass:[completion-item-focus prev-category]+ * +pass:[<Ctrl-Tab>]+: +pass:[completion-item-focus next-category]+ * +pass:[<Ctrl-U>]+: +pass:[rl-unix-line-discard]+