From 7d9a1c9b401e83ea642892535c399f906b2defa6 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sat, 20 Aug 2022 10:16:48 +0100 Subject: Add Ctrl-u and Ctrl-w readline bindings. Ctrl-u is just a whole line delete for now, as there's no sense of a cursor position in tofi (so the whole line is "left" of the cursor). --- doc/tofi.1.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'doc/tofi.1.md') diff --git a/doc/tofi.1.md b/doc/tofi.1.md index 8d3c960..afd507a 100644 --- a/doc/tofi.1.md +++ b/doc/tofi.1.md @@ -19,7 +19,7 @@ displays a graphical selection menu. When a selection is made, it is printed to stdout. When invoked via the name **tofi-run**, **tofi** will not accept items -on stdin, instead presenting a list of executables in the user's $PATH. +on stdin, instead presenting a list of executables in the user's \$PATH. When invoked via the name **tofi-drun**, **tofi** will not accept items on stdin, and will generate a list of applications from desktop files as @@ -55,6 +55,14 @@ the form **--key=value**. > Move the selection forward one entry. +\-u + +> Delete line. + +\-w + +> Delete word. + \ > Confirm the current selection and quit. @@ -69,24 +77,24 @@ the form **--key=value**. > Example configuration file. -*$XDG_CONFIG_HOME/tofi/config* +*\$XDG_CONFIG_HOME/tofi/config* > The default configuration file location. -*$XDG_CACHE_HOME/tofi-compgen* +*\$XDG_CACHE_HOME/tofi-compgen* -> Cached list of executables under $PATH, regenerated as necessary. +> Cached list of executables under \$PATH, regenerated as necessary. -*$XDG_CACHE_HOME/tofi-drun* +*\$XDG_CACHE_HOME/tofi-drun* > Cached list of desktop applications, regenerated as necessary. -*$XDG_STATE_HOME/tofi-history* +*\$XDG_STATE_HOME/tofi-history* > Numeric count of commands selected in **tofi-run**, to enable sorting > results by run count. -*$XDG_STATE_HOME/tofi-drun-history* +*\$XDG_STATE_HOME/tofi-drun-history* > Numeric count of commands selected in **tofi-drun**, to enable sorting > results by run count. -- cgit v1.2.3