On Sa, 23 Jun 2018, tooth pik wrote:

> 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
> 
> 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
> 
> 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

Have you tried :set varsofttabsstop?

Best,
Christian
-- 
Das Leben ist wie eine Hühnerleiter: Mal rauf mal runter.

-- 
-- 
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.

Raspunde prin e-mail lui