Changes between Version 61 and Version 62 of UsingVimWithDjango


Ignore:
Timestamp:
Jul 10, 2014, 4:47:25 AM (10 years ago)
Author:
wayneye
Comment:

Added shiftwidth, tabstop and softtabstop Vim configuration items for python files, highly recommended for all python/django developers who use Vim

Legend:

Unmodified
Added
Removed
Modified
  • UsingVimWithDjango

    v61 v62  
    1414
    1515[http://web.archive.org/web/20090206143136/http://py.vaults.ca/~x/python_and_vim.html Tab Setting Reference for Python and Vim]
     16
     17It is also highly recommended to configure shiftwidth, tabstop and softtabstop for Vim, add the following lines into your .vimrc:
     18
     19{{{
     20autocmd FileType python set sw=4
     21autocmd FileType python set ts=4
     22autocmd FileType python set sts=4
     23}}}
    1624
    1725=== Omnicomplete ===
Back to Top