From the course: Learning Linux Command Line

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Edit text with Vim

Edit text with Vim

- At the command line, we can edit text with stream editors and so on. But in many cases, especially when we're writing documents or coding, it's easier to just open up a text editor and do what we need to do. But if we're working at the command line, we don't always have access to our favorite graphical text editor. On most Linux distributions, there's a text editor called Vim. We'll also see it referred to as VI in some places for legacy reasons. The Command VI is a shortening of the word visual and VI was a popular text editor on Unix. The name VIM stands for VI Improved. VI, or Vim takes a little bit of getting used to and I encourage you to check out our course, Learning Vim, to get a full sense of how to use it. As with a lot of the tools we've explored so far, VIM can take a few minutes to learn, but years to master. So I'll take you through the very basics right now so you're ready to explore more when you're ready. To start Vim from the command line, I'll type VI. You might…

Contents