Switch \fish sections to rst format

This commit is contained in:
ridiculousfish
2018-12-18 19:14:04 -08:00
parent c33d1a217c
commit 2a002a4ba1
53 changed files with 993 additions and 693 deletions

View File

@@ -149,20 +149,29 @@ The following special input functions are available:
Examples
------------
\fish
bind <asis>\\cd</asis> 'exit'
\endfish
::
bind <asis>\\cd</asis> 'exit'
Causes `fish` to exit when @key{Control,D} is pressed.
\fish
bind -k ppage history-search-backward
\endfish
::
bind -k ppage history-search-backward
Performs a history search when the @key{Page Up} key is pressed.
\fish
set -g fish_key_bindings fish_vi_key_bindings
bind -M insert \\cc kill-whole-line force-repaint
\endfish
::
set -g fish_key_bindings fish_vi_key_bindings
bind -M insert \\cc kill-whole-line force-repaint
Turns on Vi key bindings and rebinds @key{Control,C} to clear the input line.