Chapter 5. Advanced Formatting
Often, the simplest modification to a text or a piece of code is what changes it from being obscure to being easily readable. In this chapter, we will look at some of the simple tricks you can use to format the text you are working on—no matter whether it is plain text or code.
This chapter will have recipes in three categories:
- Text formatting
- Code formatting
- Using external formatter programs
After reading this chapter, you should have a good idea about what is possible and what is not when it comes to text formatting in Vim.
Even though most people prefer graphical word processors such as Microsoft Word or OpenOffice Writer when they want to write plain text, there are still times where an editor such ...