开发者

How can I change between different color schemes in vi?

开发者 https://www.devze.com 2023-01-21 15:45 出处:网络
How 开发者_高级运维can I change between different color schemes in vi?you could try different color schemes like this:

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

精彩评论

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