how to remove a buffer from gvim without closing the window

前端 未结 4 669
情歌与酒
情歌与酒 2021-02-05 05:54

I usually type :bd to remove the buffer, however, it results in undesirable side-effect of the window being closed which I do NOT want.

4条回答
  •  抹茶落季
    2021-02-05 06:31

    I'm not sure if icecrime's bufclose plugin link is based on the same thing, but the Vim Tips Wiki shows a couple of different approaches via a script. Check them out.

提交回复
热议问题