bring color to cscope output in vim?

前端 未结 5 2398
别那么骄傲
别那么骄傲 2021-02-19 18:54

I am using vim7.4. cscope output in vim is all white. can it be made more colorful?

I tried cecscope, which uses quickfix to bring color to vim. But the output of it is

5条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-19 19:51

    You can set color to cscope editor by changing its default editor to vim from vi. You need to just add an environment variable CSCOPE_EDITOR as /usr/bin/vim (get your absolute path for vim using which vim command). Add the below line to your .cshrc file in your home folder to make it retain (I tried in REDHAT).

    setenv CSCOPE_EDITOR /usr/bin/vim
    

提交回复
热议问题