如何在OS X的终端中激活Vim配色方案? [英] How can I activate Vim color schemes in OS X's Terminal?

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

问题描述

我正在使用Mac的终端"应用程序来处理Mac OS 10.6.1(Leopard)随附的Vim 7.2.我想使用精美的配色方案.我做到了...

I'm working with the Vim 7.2 that comes with Mac OS 10.6.1 (Leopard), using the Mac's "Terminal" app. I'd like to use a fancy color scheme. I did this...

:syntax on

然后这个...

:colorscheme slate

:colorscheme elflord

:colorscheme desert

etc...

语法高亮显示有效,但是我发现无论选择哪种方案,显示的唯一颜色都是基本的红色,蓝色,青色,灰色等.

Syntax highlighting is working, but I'm finding that regardless of the scheme I choose, the only colors displayed are the basic Red, Blue, Cyan, Gray, etc.

是否有一种方法可以使Terminal应用程序显示更大的颜色集合,以允许一些更细微的方案?

Is there a way to get the Terminal app to display a larger collection of colors to allow some more subtle schemes?

推荐答案

Terminal.app仅支持16种颜色的AFAIK. iTerm 支持更多颜色,或者您使用mvim(由Daniel建议).

The Terminal.app supports AFAIK only 16 colors; iTerm supports more colors or you use mvim (as suggested by Daniel).

这篇关于如何在OS X的终端中激活Vim配色方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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