vim - How to I reduce the indentation in my Mac terminal shell? -
this question has answer here:
- redefine tab 4 spaces 8 answers
- how change tab size in vim? 5 answers
i have started using vi in terminal write shell scripts. however, noticed indentation large. in preference panel, change indentation?
if you're using vi, have set tab size using vi options.
when first open file, type : enter
set ts=4
and set tab spacing 4 spaces per tab.
Comments
Post a Comment