From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Introduction to vim

Introduction to vim

- [Narrator] Although Nano is easy to start and get around in. I find it limiting and unintuitive at times. Another editor that's installed by default on just about all versions of Linux is Vi or in the case of CentOS, Vim or Vi iMproved. A lot of people shy away from using Vim because it has virtually no user interface. And it looks hard. This is unfortunate because Vim is incredibly powerful and efficient. Vim is so focused on speed and efficiency that it has one letter shortcuts for two letter commands. It's important to note that Vim has three modes, insert mode, where you can insert text in a document, command mode, which allows you to send commands to the editor via shortcut keys and X mode which allows us to type commands on the bottom line. Let's get started by running Vim in a terminal. Vim space vimfile.txt, hit Enter. This will start Vim editing a file in our current directory called vimfile.txt. Don't…

Contents