vim-django-support


Ⅰ. 插件描述

Add DJANGO_SETTINGS_MODULE to enable pythoncomplete or whatever for django in vim

Ⅱ. 基本信息

创建日期:  2011-12-08
使用用户:  4
Github星:  1
插件作者:  Gerardo Curiel

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'gerardo/vim-django-support-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'gerardo/vim-django-support-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'gerardo/vim-django-support-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/gerardo/vim-django-support

Ⅳ. 文档说明


Vim django support plugin


:VERSION: 0.2.0

This plugin helps you to set DJANGO_SETTINGS_MODULE automatically.
That mean your pythoncomplete <http://www.vim.org/scripts/script.php?script_id=1542> now support Django omni completion. Your nose.vim <https://github.com/lambdalisue/nose.vim> now support Django unittest.

This plugin solve every issue related to DJANGO_SETTINGS_MODULE

.. Figure:: https://github.com/lambdalisue/vim-django-support/raw/master/img/screenshot.png

Omni-completion of ``django.db`` with pythoncomplete

How to install

Using vundle <https://github.com/gmarik/vundle> or pathogen <http://www.vim.org/scripts/script.php?script_id=2332> is recommended or simply extract to your vim directory

Required

Vim compiled with +python and Python 2.5 or above.

添加新评论