您的位置:首页 > 其它

vim之pydiction插件

2014-01-11 21:35 441 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: