Lines can be indented with tab characters. And it is quite obvious the there are better ways to do that than manually adding a tab character to the beginning of each line.

But how to discover these ways is less obvious. Looking for help topics about "indent" and "tab" finds a lot of information about source code formatting with automatic indentation, and about tab pages and the tabstop character.

How to find help about manually indenting lines with tabs?

1 Answer 1


Manually indenting lines with tabs is called shifting in the documentation of vim, the relevant help is found with

:h shift-left-right

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.