Windows 上的 Python 和 vim?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5875883/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Python and vim on windows?
提问by Ziv
I started learning vim a couple of days ago and surprisingly it felt quite natural to me, I also want to get back to learning python. I thought, why not combine the two?
So now I'm looking how to set up a proper python development environment, all my searches turned up either guides for other OSes (which I just couldn't "translate" to windows without feeling like I missed something) and some feel like they are made for previous versions of vim (they assume it has no python support at all...)
So how do you set up vim for python development? I see it already has syntax highlighting, how do I set up compiling? how do I set up debugging (if it's even needed, I read somewhere that it's not really that needed in python)? how do I setup error highlighting? or anything else I might need? I saw some guides setting up a "go to source" link, is that needed in the new version?
几天前我开始学习 vim,令人惊讶的是它对我来说感觉很自然,我也想重新学习 Python。我想,为什么不把两者结合起来呢?
所以现在我正在寻找如何设置一个合适的 python 开发环境,我所有的搜索都出现了其他操作系统的指南(我无法“翻译”到 Windows 而不觉得我错过了什么),有些人觉得他们是为以前版本的 vim 制作的(他们认为它根本不支持 python ......)
那么如何为python开发设置vim呢?我看到它已经有语法高亮,我该如何设置编译?我如何设置调试(如果甚至需要,我在某处读到它在 python 中并不是真正需要的)?如何设置错误突出显示?或者我可能需要的其他东西?我看到一些指南设置了“转到源”链接,新版本需要吗?
采纳答案by manojlds
Good choice on VIM!
VIM 上的好选择!
Have a look here though:
看看这里:
http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/
http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/