Vim Novice Tutorial Videos

Start of Function or Class Jumping – Moving to the beginning of functions and classes backwards through the buffer with [[ and the beginning of functions and classes forwards through the buffer with ]] (assuming you code properly and put braces for these things in column 0 (hanging brace?? Come on! :D).

End of Function or Class Jumping – Forwards to the end of a function or class definition with ][ and backwards to the end of a function or class definition with [].

Jumping to Matching Braces – The fantastic % characters.

Marks – Basic mark functionality and how it works with m, ' and `.


Basic Editing (Screencast 1)

See it straight from Vimeo at Basic Editing (Screencast 1).

What we’ll cover

Starting an Insert – The main keys for getting into Insert Mode are i and I.

Starting an Insert with a New Line – Another way to get into Insert Mode is with o and O for creating new lines.

Starting an Insert with Append – You can also get into Insert Mode with a and A.

Replacing Characters – You can replace characters (like turning off “insert” in Notepad) with r and R.

Changing Things – You can change characters or motion related things using c and C.

Deleting Characters – Delete a single character under the cursor with x and before the cursor with X.

Deleting Lines – Delete a single line with dd.

Repeat – One of the absolutely core and biggest features of Vi is something very simple: the ‘.‘ operator. Repeat the last command by hitting ‘.‘.


Basic Editing (Screencast 2)

See it straight from Vimeo at Basic Editing (Screencast 2).

What we’ll cover

Yanking – Yanking is “copying” in the “lousy editor” vernacular and it’s done with the y key and Y key.

Putting – Putting is the inverse of yanking, and once you’ve yanked, you can put with the p key and P key.

Joining – You can join lines with the J key but it will put a space at the join position, so if you don’t want that to happen you need to use gJ.

Visual Mode – We cover the three Visual Modes using the v key for character-wise visual selection, V for line-wise selection and CTRL-v for block-mode selection. The all-important gv sequence is also covered to help you re-select an area you just selected.


Working with Many Files (Screencast 1)

See it straight from Vimeo at Working with Many Files (Screencast 1).

What we’ll cover

Listing Buffers – Good ol’ ls is your friend here.

Switching Buffers – The buffer command gets you there and it can be used a ton of different ways.

Buffer deletion – The bdelete command is used to delete buffers and it can be used in an equally vast number of ways.


Working with Many Files (Screencast 2)

See it straight from Vimeo at Working with Many Files (Screencast 2).

What we’ll cover

Args List – The list of loaded files (by default) is put in the :args list, and we will learn how to move through it.

The Buffer List – What it is and how we can move through it.

Bufdo – The bufdo command lets us run a command over all of our loaded buffers. Keep this in the front of your brain!


Working with Many Files (Screencast 3)

See it straight from Vimeo at Working with Many Files (Screencast 3).

What we’ll cover

Page 2 of 3 | Previous page | Next page