Switch to last-active tab in VIM

前端 未结 4 1851
生来不讨喜
生来不讨喜 2021-01-31 03:01

In Vim, is there a way to quickly toggle between the current tab and the last-active tab? Sort of the way \'\' toggles between the current line and the las

4条回答
  •  清歌不尽
    2021-01-31 03:19

    I use buffers and not tabs, but I am able to switch between the current and latest used buffer using :b#
    Basics of using buffers are:

    :e filename to open file in new buffer  
    :bn to go to next buffer  
    :bp to go to previous buffer  
    :bd to close current buffer 
    

提交回复
热议问题