Hello!

Those of you who are interested in "elastic" non-uniform tab stops may 
find Align/AlignMaps/AutoAlign of interest.  Its not a pure non-uniform 
tab solution (that would take a modification to vim itself); however, 
there's an almost-elastic-tab solution there.

If the tabstop is set to 1 (:set ts=1), then AlignMaps' \tab will do a 
no-padding alignment on the tabs.  Thus one gets tabs surrounded by 
spaces to do the alignment.

AutoAlign now provides a new filetype:  eltab .  If your file has  a 
modeline:   vim: ft=eltab
then the file will be re-aligned with \tab and tabstop=1 when you start 
editing it.  Furthermore, as you type, tabs will be auto-aligned with 
the current insertion block of text; total file alignment can be done 
with 1V$\tab (ie. select entire file, align it).

You'll need the Align/AlignMaps/AutoAlign plugins from my website: 
http://mysite.verizon.net/astronaut/vim/index.html#ALIGN and 
http://mysite.verizon.net/astronaut/vim/index.html#AUTOALIGN .

Regards,
Chip Campbell


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui