aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/bind.txt4
-rw-r--r--doc_src/echo.txt2
2 files changed, 3 insertions, 3 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.
diff --git a/doc_src/echo.txt b/doc_src/echo.txt
index 75e9ce10..69d6df4e 100644
--- a/doc_src/echo.txt
+++ b/doc_src/echo.txt
@@ -55,6 +55,6 @@ echo 'Hello World'
Print hello world to stdout
\fish
-echo -e 'Top\nBottom'
+echo -e 'Top\\nBottom'
\endfish
Print Top and Bottom on separate lines, using an escape sequence