On 2012-12-31 10:22, Kip Coul wrote: > Currently, the visualization of a tab is represented as a first > character followed by as many repetitions of a second character needed > to fill the width (lcs_tab1 and lcs_tab2 in the code, if I'm not > mistaken). > > I'd like to do the opposite, through an option: the first character > repeated plus the second character at the end. That would enable using > arrows ('--->' for 4-space wide tabs). > > What do you think about this? I could add an option such as 'tabview' > which could take two values.
I've wanted this before as well. Maybe instead of adding another option you could modify how listchars works? You could use tab:xyz for the left character, the repeated middle character, and the (optional) right character. Then to get an arrow you could use: :set listchars=tab:--> Any existing configurations that use the two character format `tab:xy' would just be a special case and would be equivalent to tab:xyy. -- 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