> i did pop the champagne when vartabs were announced, but find my excitement
> dampened when i try them out -- they are not column-centric, like tabs on
> the typewriters of yore, but something else entirely
>
> indeed, when i turn on expandtabs, as i like to do, with
>
> set vartabs=4,20,10,8
That should be:
set vartabstop=4,20,10,8
set et
> as the help implies, it interprets each tab as the first, because expandtab
> has expanded the last one into spaces making each subsequent tab into the
> first, so it just keeps adding 4 spaces
I'm not sure if you expect something else or you are doing something
wrong, but for me I get a tabstop at column 4, 24, 35, 43, etc. Result:
x x x x x x
Also, when I go to column 16, press "C<Tab>x" I get
x x x
Thus that tab uses the "20" of 'vartabstop'. Looks good to me.
> the meaning of vartabs, to me, are tabs that i can define like column
> numbers -- as anyone old enough to have used an actual typewriter knows,
> and might be coerced into describing if plyed with gin
>
> first i define a set of tabs
>
> then i start typing -- any time i hit the tab key spaces are inserted up to
> the next defined tab key -- if i type past the first three tabstops and hit
> the tab key it will insert spaces to make the line as long as defined by
> the 4th tabstop position
>
> this would be useful for cobol and other programmers for whom column
> numbers are so significant, not just ingrates like me who want them to
> align columns in his Plan
--
hundred-and-one symptoms of being an internet addict:
93. New mail alarm on your palmtop annoys other churchgoers.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" 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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.