bring color to cscope output in vim?

前端 未结 5 2426
别那么骄傲
别那么骄傲 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:38

    For me, all the above suggestions didn't work.
    What I was searching for is something like this:

    I achieved it by gluing up several vim commands:

    nnoremap * 
        \ :exec("cs find s ".expand("")) 
        \ :copen 
    

    * - highlight word under cursor
    :exec("cs find s ".expand("")) - cscope find word under cursor
    :copen - open cscope search results window

提交回复
热议问题