Do not document the script here (the author should do that on vim.org).

This page may be out of date: check the script's vim.org page above, and its release notes.

Problem

It seems something wrong with the script installation. The script page says

Drop the script in your ~/.vim/indent directory.

When I did that, no Python indent when I use Vim. The correct step is:

#cp python.vim /usr/share/vim/vim73/plugin/python.vim

the vim73 directory is your Vim version.

No, this is wrong. If you copy it to your plugin directory, you will get python indent for all file types, until some other filetype indent script overrides it.

The installation instructions are probably correct, but they assume you already have your Vim set up to read filetype-specific indent files. To do this, place the line "filetype indent plugin on" in your vimrc. See: