Vimcasts show

Vimcasts

Summary: In each episode, Drew Neil demonstrates one of Vim's features, showing how to incorporate it into your workflow.

Join Now to Subscribe to this Podcast

Podcasts:

 Refining search patterns with the command-line window | File Type: video/x-m4v | Duration: 7:51

When you need to build a complex command, or devise a non-trivial search pattern, Vim's command-line mode can be rather limiting. In this episode, I will introduce the command-line window, which allows you to use the full power of Vim when editing search queries and commands.

 Synchronizing plugins with git submodules and pathogen | File Type: video/x-m4v | Duration: 9:24

If you use Vim on muliple machines, it can be difficult to keep your configuration files synchronized across them. One solution is to put your dotfiles under version control. In this episode, I demonstrate how to keep your vimrc and plugins synchronized using git submodules and the pathogen plugin.

 Bubbling text | File Type: video/x-m4v | Duration: 6:23

TextMate has a few built in commands for moving selected text around a document. The end end result of using these commands can be achieved by cutting and pasting, but the visual feedback they provide is quite helpful. In this episode, I will show how to replicate these commands in Vim.

 Creating colorschemes for Vim | File Type: video/x-m4v | Duration: 9:44

Choosing a colorscheme that you find pleasing to look at is essential if you want to be comfortable working with Vim. There are hundreds of colorschemes available, but what if you can't find one that you like? In this episode, I'll share a few tips that make it easy to create colorschemes for Vim.

 Updating your vimrc file on the fly | File Type: video/x-m4v | Duration: 2:51

The vimrc file allows you to preserve your settings so that they are restored each time you launch Vim. But what if you want to update your vimrc file in the middle of an editing session? This episode demonstrates a couple of tricks that make it easy to customize Vim on the fly.

 Converting HAML to ERB with Vim macros | File Type: video/x-m4v | Duration: 7:36

HAML and ERB are two commonly used ruby templating languages. You may have a strong preference for one or the other, but it's not always up to you which one you use. I was recently asked to convert several HAML files to ERB format. In this episode, I will demonstrate a couple of Vim macros that helped make short work of the task.

 Selecting columns with visual block mode | File Type: video/x-m4v | Duration: 4:21

If you want to edit several adjacent lines with a similar format, you might save a lot of time by making a columnar selection. This episode will demonstrate how to achieve this using Vim's visual block mode.

 Converting markdown to structured HTML with a macro | File Type: video/x-m4v | Duration: 9:25

Recording your keystrokes as a macro can be a great timesaver, but you have to be careful that you use commands in such a way that they can be reused. In this episode, I construct a fairly complex macro to build a structural HTML document from markdown.

 Running Vim within IRB | File Type: video/x-m4v | Duration: 4:35

If you work with ruby you will know that the interactive ruby shell, or 'IRB' for short, is a useful sketchpad for coding. But the command line interface of IRB can feel quite limiting in comparison with the power of your text editor. In this episode, I'm going to demonstrate how you can get the best of both worlds, by loading Vim from inside IRB.

 Spell checking | File Type: video/x-m4v | Duration: 5:42

Using a spell checker is a good habit to get into. In this episode, I demonstrate how to use Vim's built in spell checking feature.

 Formatting text with par | File Type: video/x-m4v | Duration: 5:12

'Do one thing and do it well' is the principle of the Unix toolkit. Editing text is a broad domain, and there are many related tasks with which it overlaps. Vim acknowledges this by enabling certain tasks to be outsourced to external programs which do that one thing, and do it well. This episode will demonstrate how the *par* program can be used for formatting text.

 Hard wrapping text | File Type: video/x-m4v | Duration: 5:23

It is sometimes preferable to format text with hard wrapped lines, for example when writing emails in plaintext. Vim can apply this style of formatting for you. This episode shows some of the options which allow you to customize Vim's text formatting.

 Soft wrapping text | File Type: video/x-m4v | Duration: 4:54

Long lines of text can be wrapped if they don't fit inside the window. By default, Vim will happily split in the middle of a word. This episode demonstrates how to use the 'linebreak' option to make Vim break lines without breaking words.

 The file explorer | File Type: video/x-m4v | Duration: 5:36

This episode demonstrates how Vim's native file browser can be used to explore and manipulate the file system.

 The :edit command | File Type: video/x-m4v | Duration: 3:50

This episode focuses on the `:edit` command. I demonstrate how to open files whose location is relative to the current working directory, then I show how to create a mapping which makes it easier to open files in the same directory as the one in the active window.

Comments

Login or signup comment.