Reputation: 3647
In most text editors with tabs and panes, I tend to use Ctrl + Tab to switch between tabs in a given pane. Vim's bp
quickly switches to the previous file in the buffer list, but is there a way to switch to the last open file in a given pane?
It would be even more ideal if it allows you to quickly cycle, such as what Alt+Tab does for windows in Linux and Windows (or Cmd+Tab for OS X).
Upvotes: 2
Views: 60
Reputation: 1976
gt
and gT
allow you to cycle the tabs forward and backward, respectively.
Upvotes: 0
Reputation: 876
I am not sure if this is what you are asking but I use Ctrl + 6 to switch back to the last buffer.
Upvotes: 4