Mithrandir
V2EX  ›  编辑器

关于 vim,有个问题想请教一下大家

  •  
  •   Mithrandir · May 1, 2015 · 4699 views
    This topic created in 4029 days ago, the information mentioned may be changed or developed.

    Alt text
    如图,请问有没有什么办法把图中我用红圈画出来的部分里后面的浅色的背景去掉,比如左边就只显示那个加号,谢谢啦~

    8 replies    2015-05-02 09:07:14 +08:00
    Vimiumist
        1
    Vimiumist  
       May 1, 2015
    "该图片仅限百度用户内部交流使用"
    Mithrandir
        2
    Mithrandir  
    OP
       May 1, 2015
    我操。。。狗日的百度
    ![a](~/a.jpg)
    Mithrandir
        3
    Mithrandir  
    OP
       May 1, 2015
    @Vimiumist 狗日的百度。。
    Vimiumist
        5
    Vimiumist  
       May 1, 2015
    @wbbim 可以打开

    但是不知道题主要的答案
    812lcl
        6
    812lcl  
       May 1, 2015
    hi VertSplit guibg=none
    加到.vimrc
    Mithrandir
        7
    Mithrandir  
    OP
       May 2, 2015
    @812lcl 已经解决了,谢谢,右边红圈里的那个我用的是
    >hi vertsplit ctermbg=bg guibg=bg
    解决的,右边的因为我装了[vim-gitgutter插件](https://github.com/airblade/vim-gitgutter),功能就是显示git目录下一个文件中每一行相比最后一次提交时的更改情况,用了
    >hi GitGutterAdd ctermbg=bg guibg=bg
    >hi GitGutterChange ctermbg=bg guibg=bg
    >hi GitGutterDelete ctermbg=bg guibg=bg
    >hi GitGutterChangeDelete ctermbg=bg guibg=bg
    解决的
    Mithrandir
        8
    Mithrandir  
    OP
       May 2, 2015
    @wbbim 可以了,谢谢啦~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   987 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 22:17 · PVG 06:17 · LAX 15:17 · JFK 18:17
    ♥ Do have faith in what you're doing.