aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/bind.txt
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-10-01 18:20:09 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-10-01 18:20:09 -0700
commitbae2b2cc477cbde5442644a4313140be8f1007a6 (patch)
tree0c11112d3a69ac4507c74a2f8161f27b6e7d68ef /doc_src/bind.txt
parent47c357a354447ff2f378fedaf0dcb100ce256381 (diff)
Fix examples in `bind` documentation
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 e879c208..5e5c90f1 100644
--- a/doc_src/bind.txt
+++ b/doc_src/bind.txt
@@ -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.