Vim Masterclass: Mastering the Vi and Vim Editors

Jason Cannon

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
35 Videos (5h 48m)
    • Vim Masterclass Promotional Video

      2:18
    • Course Introduction and Overview

      1:28
    • Course Download

      2:05
    • What Vim Is and Why You Should Learn It

      8:34
    • Modes

      2:46
    • Vim quickstart

      4:32
    • Exercise 01 Creating and Editing a New File with Vim

      4:04
    • Essential file navigation

      16:39
    • File navigation practice

      5:39
    • Deleting text

      12:49
    • Deleting text practice

      6:58
    • Getting help

      11:12
    • Getthing help practice

      6:12
    • Cutcopypaste

      9:57
    • Cutcopypaste part 2 registers

      11:14
    • Cutcopypaste exercise

      9:03
    • Insert change replace join

      17:59
    • Search find replace

      15:42
    • Search find replace part 2

      10:18
    • Insert change replace join practice

      10:05
    • Search find replace exercise

      5:00
    • Text objects

      12:05
    • Text objects practice

      7:07
    • Macros

      19:34
    • Macros practice

      11:24
    • Visual mode part 1

      13:06
    • Visual mode part2

      10:25
    • Visual mode practice

      5:05
    • Vimrc part 1

      22:10
    • Vimrc part 2

      12:54
    • Vimrc practice

      4:57
    • Buffers

      19:49
    • Buffers exercise

      5:16
    • Windows

      14:52
    • Gvim

      15:04

About This Class

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.

  • And more...

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.

Enroll Now!

2 of 2 students recommendSee All

Excellent quality, no fluff course. Very clear, no useless misguiding commands.
Yu-Chiang Hsu

Computer technician!

9

Students

--

Projects

Jason Cannon 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. Additionally, he has acted as a technical consultant and independent contractor for small businesses as well as Fortune 500 companies.


Jason has professional experience with CentOS, RedHat Enterprise Linux, SUSE Linux
Enterprise Server, and Ubuntu. He has used several Linux distributions o...

See full profile