Vim’s built-in abbreviation feature is handy if you want to auto-correct words that you frequently misspell, but it requires a lot of setup. The
:Abolish command makes it easy to generate abbreviations that will correct multiple forms of the same word.
This is the final of a three-part series on Tim Pope’s abolish plugin.Continue reading…
The abolish plugin provides a command called
:Subvert, which is like a supercharged version of Vim’s built-in
:substitute command. The
:Subvert command is especially useful for changing singular and plural variants of a word, and for refactoring names that appear in
This is part two of a three-part series on Tim Pope’s abolish plugin.Continue reading…
On Monday, June 3rd, I’m going to teach my Core Vim Masterclass Online. It will run for 4 hours, from 18:00 GMT. That’s 10:00 if you live in San Fransisco, or 13:00 if you live in New York. Tickets cost £95 (approximately US $140), but there’s an £80 earlybird offer (approx. US $120) running until May 24th.
One year ago today, Practical Vim was released as a beta book. I’m thrilled with how the book has been received and I’d like to thank everybody who has purchased a copy. After a year of sales, I’m happy to report that Practical Vim is a best-seller!Continue reading…
:Subvert command lets us create a particular style of regular expressions with ease. It’s great for matching irregular singular and plural words in plain English and also for variable names that come in
This is part one of a three-part series on Tim Pope’s abolish plugin.Continue reading…
* command searches for the word under the cursor. That makes sense in Normal mode, but from Visual mode it would be more useful if the star command searched for the current selection, rather than the current word. We can add this feature to Vim using the visual star search plugin.
In case you hadn’t noticed, Vimcasts.org is back from hibernation! I’m publishing new screencasts and blog posts regularly. If you can’t keep up with the RSS feeds, or via Twitter, then you might want to subscribe to the Vimcasts.org newsletter. I’ll send an email digest once a month containing links to all of the material published over the course of the previous month.Continue reading…
Vim doesn’t have a built-in command for project-wide find and replace operations, but we can perform this task by combining primitive Ex commands such as
:vimgrep. We’ll look at two possible strategies: first using the arglist, then the quickfix list.
On Tuesday, April 16th, I’m going to teach my Vim Masterclass Online. It will run for 4 hours, from 17:00 GMT. That’s 09:00 if you live in San Fransisco, or 12:00 if you live in New York. Tickets cost £95 (approximately US $140), but there’s an £80 earlybird offer (approx. US $120) running until April 5th.Continue reading…
I always announce my Online Vim Masterclasses here on the Vimcasts blog as well as on Twitter. Some of you have indicated that you’d prefer to get announcements in your email inbox, so I’ve set up a mailing list for announcements. Sign up for the newsletter and you’ll be the first to hear about upcoming Vim classes.Continue reading…