如何编写VIM配色方案? [英] How to write a VIM color scheme?

查看:28
本文介绍了如何编写VIM配色方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找 VIM 配色方案并找到了一些很棒的配色方案(尤其是使用 http://code.google.com/p/vimcolorschemetest/),但我总是想改变我发现的每个方面的几个方面.所以我现在决定我真正想做的是自己制作,或者能够定制我即时找到的那些.基本上,我想知道的是:

I have been looking around for VIM color schemes and found some great ones out there (esp. by using http://code.google.com/p/vimcolorschemetest/), but I always want to change a few aspects of each one I find. So I've decided now that what I really want to do is make my own, or be able to customize the ones I find on the fly. Basically, what I want to know is:

1) 如何编写 vim 配色方案——有没有好的(快速)教程?

1) How do I write a vim color scheme -- are there any good (quick) tutorials?

2) 如何添加特定于语言的自定义?就像 Python 一样,我可能对为类和方法使用不同的颜色感兴趣(这甚至可能吗?什么级别的定制是可能的?).您能告诉我有关如何针对特定语言进行自定义的任何信息都很棒!(尤其是python,但其他的比如C、Java、Ruby也会很棒)

2) How do I add language-specific customizations? Like say for Python, I might be interested in having different colors for classes and methods (is this even possible? What level of customization is possible?). Anything you can tell me about how to customize for specific languages would be fantastic! (esp. python, but also others like C, Java, Ruby would be great)

3) 是否有好的、完整的(最好是评论良好的)模板,我可以从中开始,其中包含配色方案的所有方面,例如背景、文本、语言特定的内容,以及喜欢吗?

3) Are there are good, complete (ideally well-commented) templates that I could start from which contain all aspects of a color scheme, like background, text, language specific stuff, and the like?

推荐答案

我没看 "Creating colourschemes for Vim" VIMcasts 的一集,但其他的真的很好.

I didn't watch the "Creating colorschemes for Vim" episode of VIMcasts, but the others are really good.

这篇关于如何编写VIM配色方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆