Fig. 1, copy the code on a web page, paste it into vim editor, and pressgg=G
After indenting, a vertical line appears at the front end of line 4, and looking at that distance, it istab
The spacing of the.
Figure 2. Save the content and close it. Open vim again to edit this file. Pressgg=G
Indent, the format is normal this time, the leftmost number on line 4 is four spaces.
Why directly copy and paste the contentsgg=G
What kind of situation will happen?
That’s not a vertical line, that’s vim’s screen is not redrawn, in normal mode,
ctrl-l
Redrawing the screen.