摘要: 1.文法高亮为了能在Vim中支持Python文法需要用到插件python.vim,该插件默认位于//syntax/下,如果你在该路径下没有找到这个插件,需要到python.vim : Enhanced version of the python syntax highlighting script下载。然后为了能让Vim识别Python文法需要在vimrc中添加:set filetype=pythonau BufNewFile,BufRead *.py,*.pyw setf python2.缩进在vimrc中添加如下缩进相关的代码:set autoindent " same leve 阅读全文
posted @ 2013-07-25 17:16 wangshijun 阅读(871) 评论(0) 推荐(0) 编辑