title: How to get different colorschemes in Vim split window?
body: <p>I prefer having different <code>colorscheme</code> for python and different for rest of the files.</p>
  
  <p>So, what I did is added the below two lines in my <code>vimrc</code>:</p>
  
  <pre><code>"for python file
  autocmd! BufEnter,BufNewFile *.py colo badwolf
  autocmd! BufLeave *.py colo badwolf
  
  "for rest of the files
  colo molokai
  </code></pre>
  
  <p>Everything works fine when I open a <code>new/pre-exixting</code> file in vim using <code>vim test.py</code> but problem occur when I split my vim window into two using <code>:split .scripts/test.sh</code>.</p>
  
  <p>What happens is after splitting the window when my cursor moves to the new-split window(.sh) I get <code>molokai</code> colorscheme for my python file and when I shift my cursor to my old window(.py) I get <code>badwolf</code> colorscheme in my <code>.sh window</code>. So, as you can see eventually I have the same colorscheme in my windows depending upon which file-type is in focus.</p>
  
  <p>In case of <code>Vim-Tab</code> as soon as I open a file which has it's pre-defined colorscheme(via autocmd) all the tabs apply that colorscheme.</p>
  
  <p>So, is there any way I can have different <code>colorschemes</code> in vim split windows and tabs.</p>