aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/bind.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/bind.txt')
-rw-r--r--doc_src/bind.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/bind.txt b/doc_src/bind.txt
index f645e32d..c76795e4 100644
--- a/doc_src/bind.txt
+++ b/doc_src/bind.txt
@@ -131,7 +131,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.
@@ -142,7 +142,7 @@ 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.