macos - Problem opening vim in fish terminal
PHP中文网
PHP中文网 2017-05-16 16:39:02
0
1
704

As shown below, there was nothing wrong with the bash terminal before. However, this problem occurred after switching to fish, although it does not affect the use.

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
洪涛

The syntax of fish and bash are different, so you can't let vim use fish as an external interpreter
Here is the solution

    if &shell =~ '/bin/fish'
        set shell=/bin/bash
    endif
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template