vim python

 Pydiction-----vim的python自动完成插件
下载:http://vim.sourceforge.net/scripts/script.php?script_id=850

在插入模式下,按tab键,会出现高亮的下拉提示菜单

根据readme,如下设置

1:

python_pydiction.vim -- This is an ftplugin you put in your non-system ftplugin directory (i.e., ~/.vim/after/ftplugin/, on Unix or C:\vim\vimfiles\ftplugin\, on Windows)

2:  vimrc  file 增加以下

filetype plugin on   #打开插件

let g:pydiction_location = 'C:/vim/vimfiles/ftplugin/pydiction/complete-dict'  #指定自动完成字典的位置

let g:pydiction_menu_height = 20   



 

posted on 2013-02-04 10:42  Odoo在中国  阅读(395)  评论(0)    收藏  举报

(评论功能已被禁用)

导航

< 2013年2月 >
27 28 29 30 31 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 1 2
3 4 5 6 7 8 9
点击右上角即可分享
微信分享提示