--- a/chapters/15.markdown Wed Apr 04 13:45:32 2012 -0400
+++ b/chapters/15.markdown Wed Apr 04 13:48:45 2012 -0400
@@ -147,7 +147,7 @@
* If your operator-pending mapping ends with some text visually selected, Vim
will operate on that text.
-* Otherwise, Vim will operator on the text between the original cursor position
+* Otherwise, Vim will operate on the text between the original cursor position
and the new position.
Exercises
--- a/chapters/20.markdown Wed Apr 04 13:45:32 2012 -0400
+++ b/chapters/20.markdown Wed Apr 04 13:48:45 2012 -0400
@@ -10,13 +10,13 @@
:::vim
:let b:hello = "world"
- :echo hello
+ :echo b:hello
As expected, Vim displays "world". Now switch to the other buffer and run the
echo command again:
:::vim
- :echo hello
+ :echo b:hello
This time Vim throws an error, saying it can't find the variable.
--- a/chapters/23.markdown Wed Apr 04 13:45:32 2012 -0400
+++ b/chapters/23.markdown Wed Apr 04 13:48:45 2012 -0400
@@ -88,7 +88,7 @@
:::vim
:function TextwidthIsTooWide()
- : if &l:numberwidth ># 80
+ : if &l:textwidth ># 80
: return 1
: endif
:endfunction
--- a/chapters/24.markdown Wed Apr 04 13:45:32 2012 -0400
+++ b/chapters/24.markdown Wed Apr 04 13:48:45 2012 -0400
@@ -111,7 +111,7 @@
:call AssignGood("test")
-This time the function works, and Vim displays "Yes".
+This time the function works, and Vim displays "Yep".
Exercises
---------