So when I go to the first character in a line, the first character in that line is a tab character, and I execute echo col('.')
, I will get 1
.
However when I type 2|
I won't go to the next character, but I will stay in the current position, which is because the tab character fills 8 display spaces.
So how can I make |
behave like col('.')
and use characters instead of display spaces?