Tutorial: Creating and Editing a File with vim

This section explains how to start vim, enter text, move the cursor, correct text, save the file to the disk, and exit from vim. The tutorial discusses two of the modes of operation of vim and how to go from one mode to the other. It also covers commands you can use to create a file and store it on disk. Try the program named vimtutor: Give its name as a command to run it.

Specifying a Terminal

Because vim takes advantage of features that are specific to various kinds of terminals, you must tell it what type of terminal or terminal emulator you are using. On many systems your terminal type is set for you automatically. If you need to specify your terminal type, refer to “Specifying Your Terminal ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.