Dear Vim users, I would like to have an automatic tab stop feature, while editing tabular data.
Let's say I'm editing this data: one^Iplus^Ione two^Iminus^Itwo seventeen^Iis^Iseventeen I would like Vim to display it as: one plus one two minus two seventeen is seventeen That is, hoping my mailer gets the spaces right, I would like Vim to automatically choose a tabstop of 11 for the first tab stop, and an additional 7 (or cumulative 18) for the second tab stop. These numbers would be chosen automatically so that every "data column" in the buffer would be correctly aligned, only taking as much space as the widest cell of that column plus two spaces. If 'tabstop' accepted a list of numbers (eg. set tabstop=11,7) I could easily write this feature as a plugin, watching every editing operation and recomputing the list of tabstops on the fly. But alas, I cannot seem to find support for this in Vim. Does anyboy have any idea? -Tobia --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
