The latest version of the book is P2.0, released about 3 years ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: P2.0 (09-Jan-20)
PDF page: xxiv
The source code address for the second edition is "pragprog.com/titles/dnvim2/source_code."--Jaul
- Reported in: P2.0 (09-Mar-19)
Paper page: 6
In box titled "Two for the Price of One": O (capital letter o) replaces ko instead of 0 (zero)--JFK
- Reported in: P2.0 (04-Apr-18)
PDF page: 33
Paper page: 5
The "Two for the Price of One" box says that the compoud command equivalent to ^C, but it seems that the two commands are not the same. ^ moves the cursor to the first non-whitespace character, whereas the behavior of S does not respect leading whitespace on the line.
Vim help text :h S says that the S command is a synonym for cc, which kills the whole line (including leading whitespace) and then leaves you in insert mode. The closest equivalent for S in longhand I can think of is 0C.
Hope this helps, and thanks for a well-written text on a very powerful editor. I first learned Emacs, but thanks to your book I'm training to make the switch :)
- Reported in: P2.0 (19-Aug-17)
PDF page: 34
Last paragraph, ga outputs the numeric code of the character in octal as well (text mentions only decimal and hexadecimal).--Angelos Orfanakos
- Reported in: P2.0 (21-Feb-17)
PDF page: 38
Paper page: 38
Page number 38 is missing....
- Reported in: P2.0 (09-Feb-18)
PDF page: 47
Paper page: 47
[...] But first, we’ll reduce the
spacing between the two columns, which are farther apart than they need
The word to is missing: [...] than they need TO be--Sven Knoke
- Reported in: P2.0 (09-Feb-18)
PDF page: 59
Paper page: 59
last paragraph: If n is ommited, it defaults to 1.
shouldn't it be ... it defaults to 0 ?--Sven Knoke
- Reported in: P2.0 (23-Feb-17)
Paper page: 78
The directory ....../code/cmdline_mode does not contain
history-scrollers.vim, so the result of
$ ls *.vim
should be batch.vim only.
- Reported in: P2.0 (23-Mar-20)
PDF page: 80
Paper page: 57
I'm calling this a suggestion, because I think it's misleading but not truly an *error*.
The text says "This file contains only five lines. If we wanted to jump to the end of the file, we could enter :5 or we could use the special $ symbol." But this isn't quite true. The file has thirteen lines, but most are comments. (Only five are not comments.) Most importantly ":5" and ":$" are not equivalent here.
I assume that most people will quickly figure it all out (or not even notice), but someone very new to programming or HTML may not understand.--Peter Aronoff
- Reported in: P2.0 (24-Feb-17)
Paper page: 104
$ cd code/file/mvc should be $ cd code/files/mvc
- Reported in: P2.0 (05-Nov-19)
Paper page: 164
The link in the footnote points to a porn site. I assume from context that this was originally a website for looking up collective nouns, however, it appears to have been cybersquatted.--Jakob Pfender
- Reported in: P2.0 (06-Sep-17)
PDF page: 233
- Reported in: P2.0 (26-Dec-19)
PDF page: 270
Nodelint is deprecated and will not run in a modern setup. --Eric Van Horn
- Reported in: P2.0 (19-Jun-18)
PDF page: 282
The lavender box titled Autocompletion and Case Sensitivity it says:
"In the “She sells sea shells” example above,"
However, in my layout of the book, the referenced example is below the lavender box.--Thomas Fuller