vim之pydiction插件

时间:2023-03-10 07:41:36
vim之pydiction插件

vim之pydiction插件

 It consists of three main files:

python_pydiction.vim -- Vim plugin.
complete-dict -- Dictionary file that consists of Python keywords and modules. This is what the plugin refers to.
pydiction.py -- Python script you can optionally run to add more modules to complete-dict.

 Put python_pydiction.vim in ~/.vim/after/ftplugin/

 In your vimrc file, first add the following line to enable filetype plugins:

 filetype plugin on

 You may install the other files (complete-dict and pydiction.py) anywhere you want, then make sure you set "g:pydiction_location" to the full path of where you installed complete-dict, i.e.:

 let g:pydiction_location = '/path/to/complete-dict'


参考:
1、
、http://www.vim.org/scripts/script.php?script_id=850