docs: link and explicit instructions on creating a blank fish_mode_prompt

Work on #5783.

[ci skip]
This commit is contained in:
David Adam
2020-06-06 22:52:07 +08:00
parent 0846fc8181
commit c5e535e794
2 changed files with 8 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ The following special input functions are available:
- ``repaint`` reexecutes the prompt functions and redraws the prompt. Multiple successive repaints are coalesced.
- ``repaint-mode`` reexecutes the fish_mode_prompt function and redraws the prompt. This is useful for vi-mode. If no fish_mode_prompt exists, it acts like a normal repaint.
- ``repaint-mode`` reexecutes the :ref:`fish_mode_prompt <cmd-fish_mode_prompt>` and redraws the prompt. This is useful for vi-mode. If no ``fish_mode_prompt`` exists, it acts like a normal repaint.
- ``self-insert``, inserts the matching sequence into the command line