Mastering the vim text editor in Linux or Unix [ PDF version ]

last updated in Categories Linux, Tips, UNIX

Vim is my preferred text editor for configuring system and writing code at a shell prompt. However, many new Linux users find it difficult to cope with vim or vi editor. This tutorial provides a good introduction to vim text editor on Linux operating system. Whether you are a system administrator or developer give it a try to VIM on Linux.

From the book:

The VI editor is a screen-based editor used by many Unix users. The VI editor has powerful features to aid programmers, but many beginning users avoid using VI because the different features overwhelm them. This tutorial is written to help beginning users get accustomed to using the VI editor, but also contains sections relevant to regular users of VI as well. Examples are provided, and the best way to learn is to try these examples, and think of your own examples as well… There’s no better way than to experience things yourself.

Linux mastering the vim text editor pdf book

Mastering the VIM editor for Linux

This PDF version covers the following topics:

  1. Introduction
  2. Conventions
  3. Before You Begin
  4. Starting the VI Editor
  5. Getting Out of VI
  6. The Two Modes of VI
  7. How to Type Commands in Command Mode
  8. Some Simple VI Commands
  9. Text Buffers in VI
  10. Cutting and Yanking
  11. Pasting
  12. Indenting Your Code and Checking
  13. Word and Character Searching
  14. Settings for VI (and EX)
  15. Abbreviations and Mapping Keys to Other Keys
  16. The EXINIT Environment Variable and the .exrc file
  17. Recovering Your Work When Something Goes Wrong with Your Terminal
  18. Warning About Using VI on the Workstations
  19. Summary of VI commands
  20. Cutting and Pasting/Deleting text
  21. Inserting New Text
  22. Moving the Cursor Within the File
  23. Moving the Cursor Around the Screen
  24. Replacing Text
  25. Searching for Text or Characters
  26. Manipulating Character/Line Formatting
  27. Saving and Quitting
  28. Miscellany
  29. EX Commands

Download Mastering the vim text editor book

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Start the discussion at www.nixcraft.com

Historical Comment Archive

2 comment

    Have a question? Post it on our forum!