From ff62f2ae08f5763f7d0e2eb2b7081c5a8cf835f3 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 26 Apr 2019 19:23:08 +0200 Subject: [PATCH] docs/bind: Document path-component and word Plus fix some formatting. [ci skip] --- sphinx_doc_src/cmds/bind.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sphinx_doc_src/cmds/bind.rst b/sphinx_doc_src/cmds/bind.rst index 394bb42f1..cb90f406f 100644 --- a/sphinx_doc_src/cmds/bind.rst +++ b/sphinx_doc_src/cmds/bind.rst @@ -80,9 +80,9 @@ The following special input functions are available: - ``backward-kill-line``, move everything from the beginning of the line to the cursor to the killring -- ``backward-kill-path-component``, move one path component to the left of the cursor (everything from the last "/" or whitespace exclusive) to the killring +- ``backward-kill-path-component``, move one path component to the left of the cursor to the killring. A path component is everything likely to belong to a path component, i.e. not any of the following: `/={,}'\":@ |;<>&`, plus newlines and tabs. -- ``backward-kill-word``, move the word to the left of the cursor to the killring +- ``backward-kill-word``, move the word to the left of the cursor to the killring. The "word" here is everything up to punctuation or whitespace. - ``backward-word``, move one word to the left @@ -162,7 +162,7 @@ Examples :: - bind \\cd 'exit' + bind \cd 'exit' Causes ``fish`` to exit when :kbd:`Control+D` is pressed. @@ -179,7 +179,7 @@ Performs a history search when the :kbd:`Page Up` key is pressed. :: set -g fish_key_bindings fish_vi_key_bindings - bind -M insert \\cc kill-whole-line force-repaint + bind -M insert \cc kill-whole-line force-repaint Turns on Vi key bindings and rebinds :kbd:`Control+C` to clear the input line.