Blogging with Vim

Published at Tue 28 August, 2007 04:51 | Permalink Permalink | Comments Comments (1) | Trackbacks Trackbacks (0)

Oh god I found this post today! Now I can blog from my favorite editor!

THANK YOU PEDRO!

You know I love the Vi – improved. And I wish I know this tip a long time ago.

Basically Vim allows you to write freely and then wrap your text to a fixed number of characters. You can use the :set tw=80 to force your text never to exceed 80 characters. And if you already have a non wrapped text, you can easily select (using visual mode) the text you like to wrap and hit gq on your keyboard, and Vim will haply apply your settings to the region.

For LaTeX and emails, this is awesome…

About

photo of Ruben Fonseca

My name is Ruben Fonseca. I'm a Computer Science and Systems Engineer from Portugal that loves FLOSS.

I'm currently taking some time off to myself, but feel free to contact me anytime at or via LinkedIn:

View Ruben Fonseca's profile on LinkedIn

Feeds

Social

Follow rubenfonseca on Twitter