GIT_EDITOR not working with macvim

前端 未结 4 945
一生所求
一生所求 2021-02-01 01:25

This is what I have in my ~/.bashrc

export GIT_EDITOR=\'/Applications/MacVim.app/Contents/MacOS/Vim -g \'

When I issue

git comm         


        
4条回答
  •  鱼传尺愫
    2021-02-01 02:22

    You need to supply the -f option to vim to ensure that it doesn't background itself.

提交回复
热议问题