rewrite beer.vim, now idiomatic