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

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:

ADVERTISEMENTS

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

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
2 comments… add one
  • Vim Noob Jun 13, 2011 @ 13:14

    Hey links are broken. Can you fix it?

    • 🐧 Vivek Gite Oct 12, 2011 @ 4:25

      Fixed it. It should work now. Thanks for the heads up!

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.