August 24th, 2009 by Derek Wyatt
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 morePosted in Vim | No comments
August 23rd, 2009 by Derek Wyatt
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 morePosted in Vim | No comments
August 23rd, 2009 by Derek Wyatt
(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 morePosted in Vim | 2 comments
August 22nd, 2009 by Derek Wyatt
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 morePosted in Vim | No comments
August 22nd, 2009 by Derek Wyatt
Snapshot 49 is out! Thanks a lot, Björn and supporters for this great version of Vim for the Mac. Well done.
Posted in Vim | No comments
August 22nd, 2009 by Derek Wyatt
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 morePosted in Vim | 1 comment
August 21st, 2009 by Derek Wyatt
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.
Posted in Vim | No comments
August 21st, 2009 by Derek Wyatt
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 morePosted in This Site | 2 comments
August 20th, 2009 by Derek Wyatt
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 morePosted in Vim | No comments
August 20th, 2009 by Derek Wyatt
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 morePosted in Vim | No comments