Cover by Kim Schulz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Chapter 7. Extended Vim Scripting

In the previous chapter, we learned the basics of how to write a script for Vim. It is now time to learn how to put it all together in a structured manner and test your script.

This chapter will contain recipes focusing on the following subjects:

  • How to structure a Vim script
  • Tips for when you develop Vim scripts
  • How to debug a Vim script
  • How to use other scripting languages when writing Vim scripts

After you have read this chapter, you should be able to write your own scripts for Vim in both Vim script language and other languages. This means that you are now ready to extend the functionality of Vim.

Script structure

We have been through all the basics of Vim scripting, so now let's take a look at how to put it all together ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required