BlackMax macrumors 6502a Original poster May 2, 2009 #1 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. 🙂
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. 🙂
K kainjow Moderator emeritus May 3, 2009 #4 This worked for me: create a ~/.vimrc file and put in it Code: set tabstop=4 and then reopen vi.
V Virtuo macrumors member May 7, 2009 #6 kainjow said: This worked for me: create a ~/.vimrc file and put in it Code: set tabstop=4 and then reopen vi. Click to expand... This is easier. 🙂 Code: echo set tabstop=4 >> ~/.vimrc
kainjow said: This worked for me: create a ~/.vimrc file and put in it Code: set tabstop=4 and then reopen vi. Click to expand... This is easier. 🙂 Code: echo set tabstop=4 >> ~/.vimrc