how to remove a buffer from gvim without closing the window

前端 未结 4 687
情歌与酒
情歌与酒 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:30

    I usually use :bn (next buffer) followed by :bd# (delete alternate buffer). You could create a mapping or command for this, of course.

提交回复
热议问题