qyc6810
V2EX  ›  macOS

自带 terminal 通过 ssh 连 Linux , vim 任何文件第一行都能会出现这四个字符 - $q qp

  •  
  •   qyc6810 · Oct 31, 2017 · 2933 views
    This topic created in 3141 days ago, the information mentioned may be changed or developed.
    如题,有人遇到过这个问题吗,咋解决的?求助!

    用 iTerm2 试了下,就没这问题。

    macOS 10.13
    2 replies    2017-10-31 14:47:42 +08:00
    kiddult
        1
    kiddult  
       Oct 31, 2017   ❤️ 2
    https://github.com/vim/vim/issues/2008

    升级,或者试试加这个配置

    if !empty($TERM_PROGRAM) && $TERM_PROGRAM == 'Apple_Terminal'
    set t_SH=
    endif
    qyc6810
        2
    qyc6810  
    OP
       Oct 31, 2017
    @kiddult 十分感谢! 就是个问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2919 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
    ♥ Do have faith in what you're doing.