Created by Jason Cannon, Last Updated 15-Jul-2020, Language:English
Mastering the vi and Vim Editors on the Linux, Unix, Mac, and Windows Operating Systems
Created by Jason Cannon, Last Updated 15-Jul-2020, Language:English
What Will I Get ?
- Edit plain text files quickly and efficiently using the Vim text editor.
- You will need access to a computer which the Vim text editor installed on it.
Did you know that the most productive command line experts exploit the powerful features of the Vim text editor?
The problem is that if you want to get really good with Vim it can take you an extremely long time if you're trying to learn it on your own.
That's why the Vim Masterclass was created.
This course gives you the absolute shortest path to learning the basics. It also provides you the fastest way to learn the most advanced features, too.
By the time you finish the Vim Masterclass you'll know how to:
Work with multiple files, including how to move data back and forth between different files, copying & pasting from one file to another, and quickly jumping to another file. You'll also learn how to view multiple files at the same time using Vim's windowing system.
Use the must-know keyboard shortcuts and how to remember them easily. You'll actually learn how to "think in Vim" so you don't even have to memorize each and every command, saving you countless hours of work.
Find and replace entire blocks of information within a file. That includes how to refactor your code by renaming all variables in a file or set of files, reliably. Of course, you'll learn simple find and replace techniques to replace a word in an entire file and much more.
Cut, copy and paste. You'll find out how to make the most of Vim's built-in clipboard system, use Vim's clipboard history, and how to access your system's clipboard from within Vim.
Visually select blocks of text and perform edits on those blocks like moving the block, deleting the block, indenting/shifting the block, and more. You'll understand Vim's text objects so you can quickly select single or multiple words, lines, paragraphs, HTML/XML tags, code blocks, and more.
How to make vertical edits and use Vim's Visual Block Mode. (Some call this column editing mode or rectangle mode…)
Enable syntax highlighting for source code, configuration files, or any type of file you edit often. That includes how to customize the color scheme and color code text in Vim.
Employ simple to advanced navigation techniques so you can go exactly to where you need in a file very fast.
Practical application tips such as how to edit source code, scripts, HTML, and more. You'll find lots of opportunities for practice in this course.
- Make the most of the built-in help system to quickly find what you need, all without leaving Vim.
Use MacVim and gVim on Linux and Windows. This includes learning the advantages and disadvantages of both the textual interface and the graphical interfaces to Vim.
Create, save, and replay macros to normalize data and quickly repeat complicated edits. You'll learn how to append or prepend text to every line in a text file, how to format one line of text and apply that formatting to a specified area in the file and more. In short, you'll learn how to automate everything in Vim.
Create custom shortcuts and personalized key mappings. If you want to create a shortcut for something you do often, you'll find out how to make your life a whole lot easier.
Indent and shift blocks of text. You'll also learn how to enable auto indentation so you can quickly clean up and prettify your source code.
When you start the course, you'll be able to use vim almost immediately. I want to make sure you get up and running as quickly as possible. That's why at the beginning of the course you'll learn how to start vim, how to make simple edits, and how to save your changes.
After that, we'll build on your knowledge and even get into some really advanced techniques such as editing multiple files at once, creating macros, making global substitutions in many files at the same time, ways to format and normalize data, how to "think in vim", and much more.
Having taught thousands of students over the years, I know people learn best by doing. That's why I've packed this course with tons of practice exercises. For each exercise you, get detailed, step-by-step instructions. I encourage you to try the labs on your own first. Then I walk through the exercise while you look over my shoulder.
Not only will you learn the concepts, you'll watch me demonstrate how to put those concepts to good use, and you'll practice those new skills immediately so that you really understand and retain what you're learning.
This course is ideal for anyone who works on the command line often. Whether you're a system administrator, a developer, a database administrator, or anyone else who has to edit files in a command line environment, this course is for you.
Even though this course does cover the graphical version of vim, it is NOT for people who are looking for "what you see is what you get" (WYSIWYG) word processing help.
No, this course is for people who want to get really efficient at editing plain text files, such as server configuration files, shell scripts, source code, and any other type of textual data.
So, if you're tired of being scared of vim, or just aren't making the progress you'd hope to by just dabbling in vim, it's time to take your vim skills to the next level by enrolling in this course.
Who this course is for:
- Anyone who needs to edit text files in a command line environment.
Course Introduction3 Lectures 00:12:07
What Vim Is and Why You Should Learn ItPreview00:08:34
Vim Quickstart4 Lectures 00:11:22
Vim Essentials6 Lectures 00:42:05
The Vim Help System3 Lectures 00:17:24
Deleting, Yanking, and Putting4 Lectures 00:30:14
Transforming and Substituting Text7 Lectures 00:59:04
Text Objects and Macros6 Lectures 00:50:10
Visual Mode4 Lectures 00:28:36
Vim Settings, Preferences and Customizations4 Lectures 00:40:01
Vim Buffers and Windows4 Lectures 00:39:57
Vim Graphical User Interfaces: Gvim and MacVim1 Lectures 00:15:04
Professional system administrator, consultant, and author.
Jason started his career as a Unix and Linux System Engineer in 1999. Since that time he has utilized his Linux skills at companies such as Xerox, UPS, Hewlett-Packard, and Amazon.com. Additionally, he has acted as a technical consultant and independent contractor for small businesses and Fortune 500 companies.
Jason has professional experience with CentOS, RedHat Enterprise Linux, SUSE Linux Enterprise Server, and Ubuntu. He has used several Linux distributions on personal projects including Debian, Slackware, CrunchBang, and others. In addition to Linux, Jason has experience supporting proprietary Unix operating systems including AIX, HP-UX, and Solaris.
He enjoys teaching others how to use and exploit the power of the Linux operating system. He is also the author of the books "Linux for Beginners" and "Command Line Kung Fu."