title: .vimrc configuration for Python
body: <p>My current .vimrc configuration is below:</p>
  
  <pre><code>set nohlsearch
  set ai
  set bg=dark
  set showmatch
  highlight SpecialKey ctermfg=DarkGray
  set listchars=tab:&gt;-,trail:~
  set list
  autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
  set tabstop=4
  set shiftwidth=4
  set expandtab
  set autoindent
  set smartindent
  syntax on
  set listchars=tab:&gt;-
  set listchars+=trail:.
  set ignorecase
  set smartcase
  map &lt;C-t&gt;&lt;up&gt; :tabr&lt;cr&gt;
  map &lt;C-t&gt;&lt;down&gt; :tabl&lt;cr&gt;
  map &lt;C-t&gt;&lt;left&gt; :tabp&lt;cr&gt;
  map &lt;C-t&gt;&lt;right&gt; :tabn&lt;cr&gt;
  </code></pre>
  
  <p>However, when I write python scripts, when I push "ENTER", it will go to the BEGINNING of the next line. What do I add so that it will auto-tab for me?</p>