title: Vim Python indentation not working?
body: <p>I have <a href="http://en.wikipedia.org/wiki/Vim_%28text_editor%29" rel="nofollow noreferrer">Vim</a> 7 (enhanced) on CentOS 5, and it comes with all the usual Vim plugins/scripts ready to go.</p>
  
  <pre><code>$ find /usr/share/vim/vim70/ -name \*python\*
  /usr/share/vim/vim70/syntax/python.vim
  /usr/share/vim/vim70/ftplugin/python.vim
  /usr/share/vim/vim70/indent/python.vim
  /usr/share/vim/vim70/autoload/pythoncomplete.vim
  </code></pre>
  
  <p>I would think that when opening a file ending in .py (<code>vim file.py</code>) it would automatically load these plugins, but I am not sure that is the case. What I want is:</p>
  
  <p>Press <kbd>TAB</kbd> and receive four spaces. Auto indent next line for suites, conditionals, etc.</p>
  
  <p>I have this working by explicitly setting tabstop, shiftwidth, etc. in my .vimrc file. Isn't this what the above <a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29" rel="nofollow noreferrer">Python</a> files are for? Why do I have to set these things in my <code>.vimrc</code>? How do I get these features from the Vim plugins instead?</p>
  
  <p>Current .vimrc:</p>
  
  <pre><code>syntax on
  set hls
  set expandtab
  set textwidth=0
  set tabstop=4
  set softtabstop=4
  set shiftwidth=4
  set autoindent
  set backspace=indent,eol,start
  set incsearch
  set ignorecase
  set ruler
  set wildmenu
  set smarttab
  filetype indent on
  filetype on
  filetype plugin on
  </code></pre>