small medium large xlarge

The latest version of the book is P1.1, released almost 3 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.

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.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (30-Jan-15)
#78128
PDF page: epub
In "Detecting the Current Filetype", the first iteration of the ftdetect/mpc.vim does not work for me. Instead of coding: autocmd​ ​BufRead​,​BufNe...more...
  • Reported in: P1.0 (04-Feb-15)
#78144
PDF page: code
The code should be better labeled and organized. Usually, code for books like this is identify with a chapter number so that it's easy to see what's b...more...
  • Reported in: P1.0 (04-Feb-15)
#78145
PDF page: code
I followed the book through Chapter 5 and all was working well. However, when I restarted my machine and thus restarted vim, I was hit with a bunch or...more...
  • Reported in: P1.0 (07-Feb-15)
#78156
PDF page: epub
Section "Specifying a New Syntax", the code given at vsyntax.1/mpc/syntax/mpdv.vim is missing the 'contains xxx' clause. However, the code in Figure 1...more...
  • Reported in: P1.0 (07-Feb-15)
#78157
PDF page: epub
Section "Writing user Commands". Code in Figure 1 (return substitute(s:statusline...) does not match the published code or what's in the book.--Jon Se...more...
  • Reported in: P1.1 (19-Mar-15)
#78266
PDF page: 2
maybe a small imprecision that could be improved : "Did you catch the ! (bang) at the end of the function’s first line?" => the bang is after th...more...
  • Reported in: P1.0 (14-Jan-15)
#78041
PDF page: 19.0
​function​! EchoQuote(): the epub version shows a space between the word function and the bang. If you type it in as it appears, it wont work; however...more...
Benjamin Klein says: Not sure what I can do about this; the code in the book is pulled directly from the downloadable code. This sounds like an EPUB rendering error.
  • Reported in: P1.0 (28-Jan-15)
#78108
PDF page: 24
...before the function’s name is either the directory under autoload or the filename, and that the last name is the filename Should be: ... 'last ...more...
  • Reported in: P1.0 (29-Jan-15)
#78110
PDF page: 26

I believe you mean "Make sure that mpd is running" instead of 'mpc'--Derek Wyatt

  • Reported in: P1.0 (29-Jan-15)
#78111
PDF page: 29

(if creative mapping)

should be

(if creative) mapping--Derek Wyatt

  • Reported in: P1.0 (29-Jan-15)
#78112
PDF page: 38

"No, calling the" should be "Now, calling the"--Derek Wyatt

  • Reported in: P1.1 (26-Apr-15)
#78379
Paper page: 39
It is not practical to update the statusline using a function that calls system() to execute a somewhat long-running command, especially twice. See th...more...
  • Reported in: P1.0 (29-Jan-15)
#78120
PDF page: 40

"This one checks for a particular option" should be "This one sets a particular option"--Derek Wyatt

  • Reported in: P1.0 (17-Jan-15)
#78050
PDF page: 49

mpc#Decode is never called anywhere and so the syntax markers when running call mpc#OpenMPC() are visible.--warren vosper

Benjamin Klein says: Good catch. On the off chance that you’re using the system Vim in OS X Yosemite, though, I think that could have something to do with the characters being displayed; I am, and the conceal system is also broken for me in the help files.
  • Reported in: P1.0 (29-Jan-15)
#78121
PDF page: 54
Manual padding of spaces is a bit hacky; Vim has printf for this. Why not just create the format string by which you format every line? As well, l...more...
  • Reported in: P1.0 (29-Jan-15)
#78122
PDF page: 54
Here's what I've written up to replace the GetPlayList() function. I just like this better... but I was wrong about the single iteration; I needed tw...more...
  • Reported in: P1.1 (26-Apr-15)
#78377
Paper page: 56
There is a bug in mpc#ToggleRandom. If repeat is on then the output of "mpc random" will look like this: "volume: n/a repeat: on random: ...". No...more...
  • Reported in: P1.0 (04-Feb-15)
#78149
PDF page: 60

first line of the 3rd paragraph:
(-) If you just entered [w]
(+) If you just entered [v]--slaimi