2

I wonder if it is possible to use a configuration for that command "set listchars=tab:▒░,trail:·" to "see" 4 spaces as tabs and get the effect of the picture below (using real tabs)...

enter image description here

I use the setting "set expandtab" to Vim use spaces in place of tabs. I really need to use spaces instead of tabs, but I would keep the functionality above. There is some form of do this?


Here's how Vim behaves when I use "set expandtab"...

enter image description here

... I wish he recognized one tab for every 4 spaces like above!


My setup for tabs...

set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab

Thank you!

1 Answer 1

1

Have a look at the following plugins:

1
  • I could not use "Indent Guides" in Vim terminal (may need some additional feature of Vim). The "indentLine" worked properly! Aug 25, 2014 at 21:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .