8b4e68184795

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 12 Oct 2012 19:16:46 -0400
parents c451e6fb149d (current diff) 8985aa307b9a (diff)
children 255d5232b0f6
branches/tags (none)
files chapters/09.markdown

Changes

--- a/chapters/09.markdown	Fri Oct 12 19:13:41 2012 -0400
+++ b/chapters/09.markdown	Fri Oct 12 19:16:46 2012 -0400
@@ -76,8 +76,8 @@
 instead of double quotes.
 
 Try using `vnoremap` to add a mapping that will wrap whatever text you have
-*visually selected* in quotes.  You'll probably need the `` `<`` and `` `>``
-commands for this, so read up on them with ``:help `<``.
+*visually selected* in quotes.  You'll probably need the `` `< `` and `` `> ``
+commands for this, so read up on them with `` :help `< ``.
 
 Map `H` in normal mode to go to the beginning of the current line.  Since `h`
 moves left you can think of `H` as a "stronger" `h`.
--- a/chapters/24.markdown	Fri Oct 12 19:13:41 2012 -0400
+++ b/chapters/24.markdown	Fri Oct 12 19:16:46 2012 -0400
@@ -81,7 +81,7 @@
     :  echo a:000
     :endfunction
 
-    :call Varg("a", "b", "c")
+    :call Varg2("a", "b", "c")
 
 We can see that Vim puts "a" into the named argument `a:foo`, and the rest are
 put into the list of varargs.
--- a/chapters/39.markdown	Fri Oct 12 19:13:41 2012 -0400
+++ b/chapters/39.markdown	Fri Oct 12 19:16:46 2012 -0400
@@ -62,7 +62,7 @@
 
     function! Assoc(l, i, val)
         let new_list = deepcopy(a:l)
-        let newlist[a:i] = a:val
+        let new_list[a:i] = a:val
         return new_list
     endfunction