When I indent lines using the > or < key, the standard 8-tabstops are

used instead of the current ‘tabstop’ setting. Why? The number of spaces used when lines are indented using the “>” operator is controlled by the ‘shiftwidth’ option. The ‘tabstop’ setting is only used, when the ‘shiftwidth’ option is zero.

    :set shiftwidth=4

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind