开发者

How can I change between different color schemes in vi?

How 开发者_高级运维can I change between different color schemes in vi?


you could try different color schemes like this:

https://kb.mediatemple.net/questions/1565/Enabling+vi+syntax+colors#gs

My problem was only deep blue comment color in default color scheme, so I changed just that:

cd ~
vi .vimrc
highlight comment ctermfg=lightblue

or change lightblue to cyan or whatever


As far as I know, plain ol' vi doesn't provide different colorschemes. If you are using vim however, you can type :colorscheme <newcolorscheme>. You can use tab to cycle through the installed colorschemes.

See http://vim.wikia.com/wiki/Switch_color_schemes for more information

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜