open matching in vim

April 18th, 2011 § 0 comments § permalink

To open in vim all files matching a regex:

$ grep -l foo ./* | xargs vim -p

Posting from vim

January 15th, 2011 § 0 comments § permalink

A while ago, I got excited about posting to this blog from vim. Then I upgraded things, got distracted, forgot about it, and it seems now _not to work_

easiest way I can find is to save the text into a new file, then do:

google blogger post --title "Posting from vim" --tags "technology, vim,google,howto" %

markdown + vim

June 20th, 2010 § 0 comments § permalink

Since I’m spectacularly dim, it never occured to me that I can run markdown from within vim. Select your text, run !markdown, and wham! bam! everything is replaced by its technicolor HTML twin.

Where Am I?

You are currently browsing the vim category at Dan O'Huiginn.