Fork me on GitHub

Wednesday, September 10, 2008

Blog / General / For you Vimmers

For you Vimmers

<Aoi-chan> everyone's first vi session. 
^C^C^X^X^X^XquitqQ!qdammit[esc]qwertyuiopasdfghjkl;:xwhat

vim-icon.png (from qdb.us; hey bash.org down? my internets has imploded! ;_; )

I’ve released a little script to deal with quotes and bracket pairs in Vim, for those of us slowly getting addicted to those girlish GUI editors like TextMate[1] or Scribes.

Ditch them all for the one and only real men’s editor: Vim[2].

Get the Script: closepairs.vim

It’s my first Vim script, feel free to tell me how to improve it, or if something is wrong.

Have fun :)

update: since you made me notice, here’s the other scripts dealing with the same problem

they all differs for little, the first is a bit simpler; the latter is probably the most configurable.

Pick your favorite :)

[footnotes]

[1] I wish I had TextMate on my Mac. I wish I had a Mac.
[2] I’m lying. Everybody knows real programmers use butterflies