If you are trying to write python code inside of gedit, you probably want auto-tabbing. Meaning suppose you are writing a method, you type something like:
def foo():
Then hit enter. The cursor goes to the next line. You naturally hit tab to write code for the method
def foo():
print 'foo'
So after print 'foo' if you hit enter, the cursor comes to the beginning of the line; it doesn't auto tab and appear under the p in print
So I googled for plugins, and I came up with gedit-autotab. But this one was developed when gnome2 was popular. Hence I googled to find out about how to install plugins on unity and took references from here. Basically it says we have to paste the downloaded stuff into:
~/.local/share/gedit/plugins
However I have downloaded gedit-autotab and copied the archive contents to the above folder. And it didn't work! How to get this fixed?

gedit-autotabwon't work with Gnome 3.6. The feature you were apparently looking for is called "automatic indentation", so the title of the question is misleading. Care to edit? – krlmlr May 16 at 13:54