Archive for August, 2009

It’s always touchier than you think…

I took a shot at the C++ no-namespace indenting for Vim and thought I had it, but of course this sort of thing is always a pain. I think it’s more solid now but I make no guarantees :). You can find the indent code as part of the General C++ Settings file that should go in...
Read more

Protodef 0.9.2 released

I made an enhancement to Protodef to allow for the ability to eliminate the namespace when pulling in the prototypes. So now you can make them look like this: Read more
Read more

No namespace indent for C++ with Vim

(NOTE: There’s a more up to date version of this in the General C++ Settings section.) Finally! Vim’s decision to add a ‘shiftwidth‘ to everything I type when I’m inside a namespace is thoroughly annoying and there appears to be no “standard” way to fix...
Read more

Blogging straight from Vim

Ah, now this is complete bliss… I’m writing to you straight from within MacVim using the blogit.vim script. Up until now, the best way I could use Vim to write up on this site was to use MacVim‘s great little feature of hacking Cocoa to allow you to edit any NSTextField natively...
Read more

MacVim Snapshot 49 Released

Snapshot 49 is out! Thanks a lot, Björn and supporters for this great version of Vim for the Mac. Well done.

Versioning your Vim configuration

I use Vim mostly at work on Windows (don’t even get me started on that lovely O/S), working on two different machines – my desktop and my laptop – neither of which are backed up. That presents a couple of problems: How do I keep the two machines up to date with each other? How...
Read more

BASIC Movement (Screencast 3) is online

I’ve completed the video series on the Vim BASIC Movement Tutorials. Pick it up here.  It’s also catalogued on this site, right here.

Blog moved here…

Yup, I’m an idiot. I’ve had a Dreamhost account for a long time now, mostly for the email address, and I went to WordPress.com to set up my vim-related blog – the free one. Why the hell would I do that?? Dreamhost gives me the same thing, plus all the extras because I’ve...
Read more

Formatting Code by Block

Ever been inside a code block and want to reformat (via ==) a number of lines but not the whole file and not line by line? Let’s say you’ve got code like this: Read more
Read more

The vimrc Work has Begun

David Fishburn (of vim_use Mailing List and other fame), suggested that I put up some videos regarding the vimrc file, and I thought that this was a great idea, so I started this morning – not with the videos though :) I want to get a decent idea of what I want to talk about before diving...
Read more