So, being able to use autocomplete in vim saved me a load of typing last night, though I suppose it still wore out my pinky hitting 'tab'.
Do you prefer spaces to indent your code?
Have no reason to ever insert a tab into your source?
Enter vim's autocomplete a la bash style tab completion.
inoremap<tab><c-n>
While you're editing, if you want to enter a symbol that already exists in the file, type the first few characters and hit tab. If there's only one match, it gets autocompleted. If there are more, vim (at least version 7, maybe earlier versions) will display a drop-down with all potential autocomplete words. Use the tab or arrow keys to highlight your desired match, then keep typing.
You might also want to change the color(s) of the drop down menu. This is handled with the following highlight group:
highlight Pmenu ctermfg=1ctermbg=4guibg=grey30
You might also not want to use the tab key, because you're too busy indenting your code with tabs. If this is the case, please stop doing that.
Dear vim: your autocomplete makes me swoon. I <3 you. @ 11:43 pm
@geoffeg I think he had fwoot woops for bwains. @ 11:39 pm
Dear previous PHP "developer": PHP supports functions and loops. I wish you had learned them. Oh how I wish this. But you did not. Damn you. @ 11:33 pm
Man, these boxing workouts are kicking me in the hiney. @ 11:03 pm
@nperez Welcome :) Oh, and good luck. Oh, and don't hurt earth. @ 7:44 pm
Dear Entourage: stop marking email from people within the company as junk mail. Thank you. Hugs and kisses, Kent. @ 1:53 pm
Today I evangelized my Sony reader, and ebook devices in general, to two separate people. So I figure I ought to do it with a bit wider audience.
I had about four devices to choose from. The iRex Iliad, the Bookean Cybook, the Amazon Kindle, and the Sony PRS505.
For a number of reasons, I went with the sony - chief among them being price and availability. Least expensive, and I could go to either a local Best Buy or Borders to pick one up, play with it, buy it, and start using it the same day.
It's just amazing. Small, slim, lightweight, and easy to read.
Works with my Mac.
Tons of ebooks available online - no late night trips to the bookstore to make sure I have reading material for the next days' commute.
No more need for additional storage space in my basement.
Life changing? Maybe a little melodramatic.
But it has made the time I spend getting to and from work a lot more enjoyable. And most importantly, more efficient.
Major props to Lisa for this awesome Christmas gift.
If you've already downloaded a copy of the slides from my first talk (Testing Code and Assuring Quality) then this update is for you.
By popular demand, I've added the lolcats back into the presentation in the appropriate places.
But more importantly, I'm no longer at the company for which I created this testing infrastructure. As such, I've updated the company name and technology name(s) to anonymize them a bit.
Just in case.
The biggest thing this means is that I need to re-record the screencasts before I can release those as well, being sure to remove any non-anonymous and non-proprietary information that may or may not already be in the recordings.
Which will take some time. :(
The good news is that the other talk I've prepared (and presented) on "Simple Photo Processing and Web Display" has never had any such information in it, so once I've got it in its final polished state, the publishing of the slides will be that much quicker.
My mom sent us a nice christmas gift, including a dog toy for Spike, and two catnip scented toys for Shadow and Butterscotch. Turns out that shipping catnip toys in a box with another plush toy will pretty much make it smell like catnip, too.
We were wondering why the cats were so interested in the dog toy, but then we noticed that Spike was a little more interested in the toy than normal. Turns out Spike enjoys the scent of catnip too.
So, I finally decided to stop putting it off and upload the slides from my testing talk onto slideshare.net. Click here to view these slides, as well as any future slides I make public.
Unfortunately, this presentation/slide set was heavy with screencasts, which don't survive the transition to PDFs very well. I'm considering hosting the screencasts elsewhere.
After Lisa and I got back from Thanksgiving dinner, we decided to take a few pictures of how well Spike was balancing in order to earn some tasty morsels of smoked turkey.