We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P1.1, released over 2 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
all

#76658: The Kindle book does not have page numbers, so am unable to make use of the Erratum.
I am using Kindle 1.10.8 last updated 4/13/2014, on Windows 7.
--wolfv

P1.1
13-Apr-14
xii
#76867: In the last sentence of the first paragraph it says: "Thank you to both for sharpening the saw..." The "to" needs to be corrected to "two"...more...
Drew Neil says: Katie says: It is fine as written! "Two" would make it incorrect (and confusing). However, if you'd like to ensure others don't get tripped up by this construction, we could change the sentence to: "I want to thank both of you for sharpening the saw..." Or take out the "to" entirely: "Thank you both for sharpening the saw..." I'm dropping the "to".
P1.1
17-Jun-14
0

#50785: Thanks for this book ! I think it may worth adding some tips about folding ?--Loic Pefferkorn

P1.0
11-Feb-13
1
#53254: Help links are all broken (h: links) An error has been encountered in accessing this page. 1. Server: vimdoc.sourceforge.net 2. URL pa...more...
P1.1
30-Nov-13
9
#50824: In the .mobi version of the book, Tip 4 (Act, Repeat, Reverse) Table 1 (Repeatable Actions and How to Reverse Them) has only 3 columns: Intent...more...
P1.1
15-Feb-13
13 xi

#50387: s/Alex Khan/Alex Kahn

Sorry I misspelled your name Alex!--Drew Neil

P1.1
17-Dec-12
20

#78409: In second last line, it should be cW instead of cw.--Harsh Jha

P1.0
05-May-15
25

#78570: Commentary plugin now uses gc{motion} (mnemonic "go comment") instead of \\{motion}--Drew Neil

P1.1
03-Jul-15
32

#50161: Two for the Price of One: S compound command for ^C (should be equivalent to cc) - vim newbie referring to :help S and trying examples on Mac & Ubuntu--Ian Fleeton

Drew Neil says: I'm going to leave this one as it is. I can see why you've suggested this correction: :help S does specify that "S is a synonym for cc", but I think that's just one way of thinking about it. These are all synonyms: S, cc, c_, ^C, ^c$. I chose to describe S as ^C in longhand, and C as c$ in longhand. Given that information, you can extrapolate that S is ^c$ in longhand.
P1.1
15-Nov-12
34

#49950: In tip 19 the keystrokes "R, b<Esc>" is using a space instead of the Space notation "R,␣b<esc>".--Arturo Salazar

Drew Neil says: Well spotted!
P1.0
13-Oct-12
45

#78569: "Table 5--Normal Operator in Visual Mode" should be renamed. Visual mode is not used here!--Drew Neil

P1.1
03-Jul-15
59

#53311: In the table, you show "R, b<ESC>", but you really should show that a space needs to be input using your convention of the ␣ to indicate the spacebar.--Robert Sink

P1.1
07-Dec-13
78
#78186: "The % symbol indicates which of the buffers is visible in the current window". The % symbol indicates which is the current active buffer, ...more...
Drew Neil says: I don't see any problem with the phrase: "The % symbol indicates which of the buffers is visible in the current window". To take your example: "if you have a split, then you can have two a's, but only one % symbol in the output of ls". If your workspace is divided into two split windows, then yes, two different buffers can be active at the same time and in that case you'll see 'a' twice. But only one of those split windows is the *current window*, therefore only one of the buffers can be visible in that window. The % symbol indicates which of the buffers is visible in the current window. It's fine.
P1.1
15-Feb-15
82
#50951: re: tip 82, David Bürgin emailed to point out that :%s///gn can be shortened to :%~gn This looks very strange but apparen...more...
P1.1
03-Mar-13
88

#50436: :cl[ose] ==> :clo[se]--Dietmar

Drew Neil says: Good catch!
P1.1
04-Jan-13
88

#52612: in the table under closing Windows

:cl[ose] should read :clo[se]

Drew Neil says: Good catch!
P1.1
09-Sep-13
95

#50066: Last ex command on the page: ":edit %:h<Tab>M<Tab>" will open Mailer.js, not Main.js. Perhaps add an extra "<Tab>" at the end?--James Silberbauer

Drew Neil says: Good catch, thanks.
P1.0
27-Oct-12
112

#76635: Missing image for matrix of word-wise motions

Drew Neil says: Which book format? I'm seeing the image in both PDF and .epub documents. I don't have the .mobi to hand right now. The image file is called wordmotions.pdf.
P1.1
08-Apr-14
112
#78241: A figure is missing on this page below the text, "This matrix of word-wise motions is illustrated here:". Instead of the figure, a little red...more...
P1.1
11-Mar-15
112
#77480: After "This matrix of word-wise motions is illustrated here: " I see a red 'x' symbol rather than the illustration. My guess is that it indic...more...
P1.1
25-Sep-14
112
#76472: (the page # at the top of the PDF page is 112, but Preview.app says its page 131) I re-downloaded several of my PDFs, have two versions of ...more...
P1.1
04-Mar-14
113
#50221: In the example box: {start} e.g. we're going too slow WWWW e.g. we're going too slow WWW e.g. we're going too slow The first motion li...more...
Drew Neil says: You had me going there. I checked the source and sure enough those are lowercase 'w's. Why then, is it appearing as uppercase 'W' in the output? After 5-10 minutes investigating this, I realised that the output is in fact lowercase 'w's and uppercase 'W' where it should be. Maybe this font makes it difficult to distinguish between w/W?
P1.1
30-Nov-12
114
#49165: There appears to be a formatting issue throughout the Kindle ebook when displaying buffer contents. The character that is currently under the...more...
B1.1
20-Apr-12
124
#78116: In table 13 on page 124 the author describes the aw command as acting on a word plus *one* space. However, this commands acts on the word plus...more...
Drew Neil says: Changed: "Current word plus one space" to "Current word plus space(s)" Also changed this para: > The iw text object interacts with everything from the first to the last character of the current word. The aw text object does the same, but it extends the range to include a whitespace character after or before the word, if one is present. to say: > The iw text object interacts with everything from the first to the last character of the current word. The aw text object does the same, but it extends the range to include any whitespace characters after or before the word, if whitespace is present.
P1.1
29-Jan-15
126

#50096: iBooks renders tip 53 in the ePub version with pencil marks in place of backticks.--Nelson Chen

P1.0
31-Oct-12
131

#78440: "This matrix of word-wise motions is illustrated here:"

And then there is a picture of a red x. It looks like there's a missing picture?--Kenneth Powers

P1.1
16-May-15
132

#50088: In the table of jumps there is an extra "/" in front of the second command: "//pattern<CR>/?pattern...".--James Silberbauer

P1.0
30-Oct-12
137

#50094: Missing "to" after "us" in 1st line of 2nd para of tip 58, "allows us create a mark".--James Silberbauer

Drew Neil says: Good catch.
P1.0
31-Oct-12
153
#78420: The results of the example are wrong in section "Pasting Line-Wise Regions". yap <table> <tr> <td>Keystrokes</td> <td>Buffer ...more...
Drew Neil says: The problem here is that this example depends on there being blank lines (which delimit a 'paragraph'). I wonder if the blank lines were stripped out by one of the editors who reviewed the manuscript, perhaps not realising that the blank lines were in fact significant? I don't like this example very much, so I'm going to try and find a better example to use here. (If I do come up with an alternative, it too will have to contain significant blank lines!) For the time being, I've put the blank lines back in. I'm not going to mark this as fixed yet, because I want to return to this one later.
P1.0
07-May-15
156

#52109: At the very end of the chapter, the text mentions 'autocommand'. Given what was previously discussed in this chapter, it should be 'autoindent'.--Giuseppe Maxia

P1.1
02-Jul-13
173

#50133: The last of the buffer contents in table 18 should show the Person class within the Rank module.--James Silberbauer

Drew Neil says: Good catch!
P1.0
04-Nov-12
196
#50337: In the second to last paragraph of tip 78, it says "getcmdtype().'\' produces "/\" if we're searching forward and ?\ if we're searching backwa...more...
P1.0
08-Dec-12
218

#50226: Tip 53 says that typing ?{mark} jumps to the exact position of a given mark. This seems to be wrong: acording to :h mark-motions it should be `{mark}.--Jeremy Cook

Drew Neil says: I suspect that what's happening here is that the backtick character isn't available for some reason, and question mark character is being used instead. I don't see ?{mark} in the source or the PDF output. In the .epub I'm seeing a pencil icon instead where there should be a backtick. Maybe in .mobi format, the backtick can't be shown and a ? is shown instead? Going to have to refer this one to our typesetting guru.
P1.1
02-Dec-12
222
#49725: In the source text for search/quoted-strings.txt, apostrophes are being used as quotes, and in the rest of the examples, the quotes are repres...more...
Drew Neil says: I see what you mean. In the manuscript, I use single-prime marks throughout, but they appear differently in code samples and buffer simulations. I've referred this issue to the typesetter.
B5.0
22-Aug-12
243
#50377: last two lines contain: h1” and “h2,” but “<h1,” “</h1,” “<h2,” “</h2,” and should h1" and "h2", but "<h1", "</h1", "<h2", "</h2"...more...
Drew Neil says: The rules regarding how punctuation and quotation marks should be mixed are different in the UK (where I come from) and in the US (where PragProg is based). I would love to make this change, but the house style indicates that periods and commas go inside quotation marks. There's nothing I can do about it. http://www.quickanddirtytips.com/education/grammar/quotation-marks-with-periods-and-commas UPDATE: discussed this with Katie and we've decided to switch from using curly quotes to marking up those strings as inline-code.
P1.1
13-Dec-12
262

#50137: In "Don't Lose the Place", make! is shown as if run from the command line ("=> $ make!"), but it is run from vim, so should be "=> :make!").--James Silberbauer

Drew Neil says: Well spotted!
P1.0
06-Nov-12
263

#50208: Title of Table 28 missing a space between the words 'Command' and 'for'. Reads as 'Table 28-Commandsfor Navigating the Quickfix List'.--Nikush Patel

Drew Neil says: Good catch!
P1.1
26-Nov-12
275
#49641: In tip 100, the file global/unsorted.css included with the downloadable code is slightly different than the example. In the example the code...more...
Drew Neil says: That's strange. The labels should be stripped out before being hosted for readers to download.
B5.0
12-Aug-12
289
#50516: Down at the bottom of the page in the last fragment: " :set spell :set spellang=fr " The second line is actually with 3 'l's: " :set...more...
Drew Neil says: Well spotted!
P1.1
23-Jan-13
289
#51109: Under the topic "Obtain Spell Files for Other Languages" there is a listing with: ➾ :set spell ➾ :set spellang=fr In the word spelllang the...more...
Drew Neil says: good catch!
P1.1
23-Mar-13
301

#50376: This snippet:

set nocompatible
plugin on

should read

set nocompatible
filetype plugin on

--Łukasz Balcerzak

P1.1
13-Dec-12