Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Tabs and spaces

Name: Anonymous 2009-03-31 16:15

So, I'm trying out python, and doing my coding in screen + vim to get split-screen with a shell at the bottom seems to make a nice setup.

The problem I have now is with vim's way of autoindenting and tab-handling. Basically, I want auto-indent to use a \t character, and my "tab" button to insert the same. Then I want the tabs to take the space of 3 spaces.

I've tried googling and stuff, but everything is just vim vs emacs -esque tab vs space  wars. But I know how I want it, I just don't know how to do it =/

Name: Anonymous 2009-03-31 16:18

noko
Haha

Name: Anonymous 2009-03-31 16:18

ASK /PROG/!

Name: Anonymous 2009-03-31 16:33

:set ts=3 sw=3 noet

Name: Anonymous 2009-03-31 16:38

>>4
Thanks, I found my answer too, just like that just a bit longer =)


:set tabstop=3
:set shiftwidth=3
:set noexpandtab


should do the trick.

Name: Anonymous 2010-12-17 1:39

FOLLOW THE NEW GNAA TWITTER AT http://twitter.com/Gary_Niger

Name: Anonymous 2010-12-21 23:37

Name: Anonymous 2011-02-03 1:35

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List