Vim is one of the most powerful command-line editors anywhere but getting a handle on its different operating modes can be a challenge. We learn to load and save text, and switch between insert, command ,and Ex modes.
- [Instructor] 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 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 "ex" 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…on our current directory called "vimfile.txt".…Don't worry if you don't have it yet,…as we'll save the file from inside Vim.…You'll notice that Vim has very little…
- Learning Linux command syntax
- Getting help on the CLI and GUI
- Finding help online
- Using basic commands
- Navigating file systems
- Editing text
Skill Level Intermediate
Learning Linux Command Line (2016)with Scott Simpson1h 38m Beginner
Linux: Bash Shell and Scriptswith Kevin Dankwardt2h 46m Intermediate
Setting up a Red Hat Enterprise Linux Serverwith Sandra Toner2h 46m Intermediate
1. Getting Help
2. Using Basic Commands
3. Navigating File Systems
4. Editing Text
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.