Wednesday, June 2, 2010

Different center alignment

Hi vims.
when writing dov files is very common to use this format:

2.1 User Manual                                                                    *user-manual*

In this example the begining of the line is in the first column and the end of it it at the latest column, usually 80 cos the textwidth by defualt is this.
In between I use spaces to fill the line.
I have tried with the :center command and other options from several plugins, all of them do the same with center alignment, they truncate the speaces in between to give you something like:
                         2.1 User Manual      *user-manual*
So basically I just need something that expand all the spaces to fill the whole line, somethign that expands rather than truncate.
Any ideas?
thanks

--
Un saludo
Best Regards
Pablo Giménez

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment