If you need to automatically wrap your text in Vim to some specific text width you need to set just two different variables:
You can use a shorter name for both of these variables, tw and fo respectively.
Source: http://blog.ezyang.com/2010/03/vim-textwidth/
:set textwidth=80
:set formatoptions+=t
: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