This chapter works with multiple code samples, which can be found on GitHub under https://github.com/PacktPublishing/Mastering-Vim/tree/master/Chapter06.
You can work with that repository, or, if you're feeling more comfortable, use your own project throughout this chapter.