更改终端颜色而不更改vim颜色? [英] Change Terminal Colors without changing vim colors?
问题描述
是否有一种方法可以更改端子颜色而不更改端子VIM中的颜色?
Is there is a way of changing terminal colors without changing the colors in terminal VIM?
推荐答案
您可以使用 CSApprox
包来使用Vim的颜色支持xterm 256颜色扩展的终端上的主题。 (当然,颜色近似为256色调色板:因此为大约。)这些颜色不受16色ANSI调色板更改的影响(或不应该受到影响)。
You can use the CSApprox
package in order to use Vim's color themes on a terminal that supports the xterm 256 color extension. (Of course, the colors are approximated into that 256 color pallette: hence the "Approx".) These colors are not affected (or should not be) by changes in the 16 color ANSI palette.
因此,例如,您可以改善着色的 ls
的显示方式,而无需更改Vim语法突出显示的显示方式。
So for instance you can improve how, say, colorized ls
appears without changing how your Vim syntax highlighting appears.
另一个有用的软件包是 ColorSamplerPack
,其中包含一整套颜色主题,您可以尝试使用其中的一个主题 CSApprox
已安装。
Another package that is useful is ColorSamplerPack
which contains a whole bunch of color themes that you can experiment with one you have CSApprox
installed.
这些软件包位于 http ://www.vim.org 。
这篇关于更改终端颜色而不更改vim颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!