课程: Linux: System Information and Directory Structure Tools

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

An introduction to Vim

An introduction to Vim

- [Instructor] An editor that's installed by default on just about all versions of Linux is VI or in most cases it's actually VIM or VI improved. A lot of people shy away from using VIM because it has virtually no user interface and looks difficult. This is unfortunate because Vim is incredibly powerful and efficient. Vim is so focused on speed and efficiency that has one letter shortcuts for two letter commands. Let's get started by running Vim in a terminal with one argument. Type in Vim space Vim file dot txt and hit enter. This will start Vim editing a file in our current directory called Vim file dot txt. Don't worry if you don't have it as we'll save the file from inside Vim. Vim is a modal editor, meaning that it behaves differently depending on which mode you're in. The two basic modes are called normal mode and insert mode. In normal mode the characters you type are commands. In insert mode, the…

内容