Skip to main content

An old IT ninja learns new Unix tricks

posted onMarch 12, 2013
by l33tdawg

It was with some fascination that I happened across Ian Langworth's "VIM after 11 years" post last week. As a vi/vim user for more than 20 years, I wasn't expecting to learn much. But to my surprise, Langworth revealed many features and tweaks I never would've sought out on my own because -- well, why would I? My vim reflexes have been built up like calluses over decades, long before many of these features and plug-ins were a glimmer in anyone's eye.

Yet I found some very old features that I either never knew about or used so sparingly that they've been archived. The :g// command was one of those items. Despite the fact that :g/re/p in the ed editor was the original impetus for Ken Thompson to write the first stand-alone grep utility, I've never really used :g// in vi/vim. It just never worked its way into my reflexes. In hindsight, that's hard to believe, but I'm apparently not alone in that regard, as Langworth noted in a follow-up article.

Source

Tags

Unix Software-Programming

You May Also Like

Recent News

Tuesday, November 19th

Friday, November 8th

Friday, November 1st

Tuesday, July 9th

Wednesday, July 3rd

Friday, June 28th

Thursday, June 27th

Thursday, June 13th

Wednesday, June 12th

Tuesday, June 11th