您的位置:首页 > 编程语言 > Python开发

使用vim进行python开发

2012-02-17 23:53 429 查看
使用vim进行python开发

2009-11-28 14:33:33

1 Pydiction-----vim的python自动完成插件

下载:http://vim.sourceforge.net/scripts/script.php?script_id=850,把python_pydiction.vim复制到 ~/.vim/after/ftplugin/ 下面

把complete-dict 和 pydiction.py复制到~/.vim/after/ftplugin/pydiction下面

修改.vimrc,加2行

filetype plugin on

let g:pydiction_location = '~/.vim/after/ftplugin/pydiction/complete-dict'

在插入模式下,按tab键,出现高亮的下拉提示菜单,效果真不错!

2 HTML.vim
http://www.infynity.spodzone.com/vim/HTML/,复制到~/.vim下面。 http://www.vim.org/scripts/script.php?script_id=13 http://vimdoc.sourceforge.net/htmldoc/insert.html#ft-html-omni
3 下载NERDTree http://www.vim.org/scripts/script.php?script_id=1658,直接解压到 ~/.vim 下面。

4 utf-8设置,打开 C:\Program Files\Vim\_vimrc,在最后面加上

set fenc=utf-8

set fencs=utf-8,ucs-bom,gb18030,gbk,gb2312,cp9
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: