Archive for the 'Vim' tag

My Vim config is on GitHub

I’ve put my Vim configuration on GitHub now. Have a gander at http://github.com/derekwyatt/vim-config

Added protodef and fswitch to GitHub

Well, I got another patch from someone for protodef. It was just getting silly that I didn’t have anywhere to actually put this stuff and I was getting tired of people sending patches :). Now y’all can just fix stuff for me directly… go to it. Head here for protodef. Head...
Read more

ProtoDef and FSwitch updated (finally)

I’ve finally updated FSwitch and ProtoDef after a long time waiting. Three guys gave me patches over many months and I’ve finally put them together into an actual couple of releases. Thanks to Matt Spear, Timon Kelter and Dmitry Bashkatov. Sorry about the wait fellas.

Pathogen, baby!

So there’s been some scuttlebutt on the Twitters recently regarding this “Pathogen” script for Vim and I decided to have a look. In a word? “Sweet”. In a few words? Tim Pope is the absolute man. This is an extremely simple and elegant script. All it does is...
Read more

New Vim Screencasts found at Lococast.Net

Rick over at Lococast.Net has some great screencasts up for Vim. I’ve watched a couple of them now, and I’m a happy dood… nice stuff! Go check ‘em out. Go… go now… stop… no, don’t do that, you know what I mean… that thing you were going to...
Read more

New Video Tutorial – Globals, Command-Line and Functions

There’s a new video online in the Advanced Section called Globals, Commands and Functions. Go check it out.

Silently Redirecting to the Vim Clipboard

In an upcoming video tutorial, I’ll be doing a bit of work with the :redir command. This is a great Vim facility but it can be helped with a function wrapper. I’m including that wrapper here: function! RedirToClipboardFunction(cmd, ...) let cmd = a:cmd . " " . join(a:000, " ") ...
Read more

It’s been a while…

I’ve had a number of people ask me when my next Vim Video is going to go online… I know it’s been a while since I put one up, and unfortunately it’s going to be a while longer. Work has picked up in the last little while and on top of that, I’m buying a new house and...
Read more

Changing settings / options based on filetype in Vim

If you want to change settings / options based on the filetype there are a couple of ways you can do it. Using an Autocommand You can do this with an autocmd in your vimrc. Let’s assume you want to change some of the indenting rules for perl and html. augroup indent_settings au! ...
Read more

Insert Mode Video now Online

I’ve managed to throw together a video on Insert Mode today. I’m not supremely happy with this one… it was a bit rushed as I only had a short amount of time between the moments when my daughter pulls on my pant-leg asking me to do “something”. I may redo this one,...
Read more