Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BlackMax

macrumors 6502a
Original poster
I'm writing some python scripts using terminal and would like to change the tab indention from 8 spaces to 4 spaces. Does anyone know how you change the tab indention in terminal?

Thanks. 🙂
 
This worked for me: create a ~/.vimrc file and put in it
Code:
set tabstop=4
and then reopen vi.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.