viernes, 1 de agosto de 2014

Vim automatic wrapping

If you need to automatically wrap your text in Vim to some specific text width you need to set just two different variables:

:set textwidth=80
:set formatoptions+=t

You can use a shorter name for both of these variables, tw and fo respectively.

Source: http://blog.ezyang.com/2010/03/vim-textwidth/

No hay comentarios:

Publicar un comentario