[Go] VIM configuration python auto complete

Source: Internet
Author: User

Vim python auto complement plugin: pydiction

You can implement the following Python code auto-completion:

1. Simple python keyword completion
2.python function Completion with parentheses
3.python Module Completion
4.python module internal function, variable completion
5.from Module Import sub-module complement

To start AutoComplete for vim, you need to download the plugin at the following address:

http://vim.sourceforge.net/scripts/script.php?script_id=850
Https://github.com/rkulla/pydiction

Installation configuration:

1 wget https://github.com/rkulla/pydiction/archive/master.zip  2 Unzip- Q Master   3 mv pydiction-master pydiction  4 mkdir-p ~/.vim/tools/pydiction   5 cp-r pydiction/after ~/. Vim  6 CP pydiction/complete-dict ~/.vim/tools/ Pydiction

Ensure that the file structure is as follows:

# Tree ~/.vim
/root/.vim
├──after
│└──ftplugin
│└──python_pydiction.vim
└──tools
└──pydiction
└──complete-dict

Create a ~/.VIMRC to make sure the contents are as follows:

1 # Cat ~/.VIMRC   2 filetype plugin   on 3 ' ~/.vim/tools/pydiction/complete-dict '

Effect:

[Go] VIM configuration python auto complete

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.