mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
Fix examples in bind
documentation
This commit is contained in:
parent
47c357a354
commit
bae2b2cc47
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ The following special input functions are available:
|
|||
\subsection bind-example Examples
|
||||
|
||||
\fish
|
||||
bind \\cd 'exit'
|
||||
bind \cd 'exit'
|
||||
\endfish
|
||||
Causes `fish` to exit when @key{Control,D} is pressed.
|
||||
|
||||
|
@ -120,6 +120,6 @@ 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
|
||||
bind -M insert \cc kill-whole-line force-repaint
|
||||
\endfish
|
||||
Turns on Vi key bindings and rebinds @key{Control,C} to clear the input line.
|
||||
|
|
Loading…
Reference in a new issue