Thursday, February 15, 2007

vim embedded commands

A neat trick I use sometimes: it's possible to customize the settings of the vim editor by embedding commands in the file. Put them on the last line after a comment character (which depends on the language of course).
For example for python I like:

# vim:ts=4:noet

which makes sure tabs are not expanded and tabstops are at 4 characters.

Friday, February 2, 2007

Lembas 0.1.1

In preparation of LOTR day, I prepared a modification of my Lembas 0.1 recipe.

Use a mix of white flour, prairy flour and rye flour instead of maslin.