6. The vim EditorIN THIS CHAPTER
This chapter begins with a history and description of vi, the original, powerful, sometimes cryptic, interactive, visually oriented text editor. The chapter continues with a tutorial that explains how to use vim (vi improveda vi clone supplied with Mac OS X 10.3 and later and available for most UNIX distributions) to create and edit a file. Much of the tutorial and the balance of the chapter apply to vi and other vi clones. Following the tutorial, the chapter delves into the details of many vim commands and explains how to use parameters to customize vim to meet your needs. It concludes with a quick reference/summary of vim commands. The vim home page is www.vim.org. Mac OS X 10.2 and earlier used the nvi clone of vi. Not all of this chapter applies to nvi, although both vim and nvi are largely compatible with vi. |