Vim Command of the Day

vim-editor_logo_bigger In the office we have two white boards that where going rather underused. Last week I decided to rectify this by drawing FOSS propaganda on one of them. On the same day, Damien (of Shave fame) happened to show us all a new Vim command we hadn’t used before, so I suggested we start a Vim Command of the Day sheet on the other white board. We’ve taken this into the 21st century as well, so anyone can follow Damien’s encyclopedic knowledge on Vim through the magic of twitter: @vcotwdorso (short for, “vim command of the week day or so”, because Damien didn’t want to be restricted to updating it just once a day)

Dear lazy web…

Does anyone know what’s happened to vim’s “comment” feature in Debian Lenny? It seems this feature is enabled (i.e. –version shows +comment) and the default string set, but it just doesn’t work. Does any one have any ideas?

Update: many thanks to Lubomir; the answer was that the ‘r’ and ‘o’ options where missing from formatoptions.