toc: Update vimgrep call

Also, abort on errors (for example, when :vimgrep doesn't find headers)