I usually have two windows open, one in which I'm working and one in which I'm viewing some information (compiler messages, relevant library headers, etc. etc.). Now, it's easy to switch the buffer on which I'm working with :b
, which offers nice tab-completion – however, that's not actually necessary very often since I usually spend substantial time working on a single file. What's needed more often is switching the buffer in the other window, however to do that I now use the pretty awkward ^w p
:b foo
^w p
combination.
Is it possible to choose that buffer without actually switching to the other window and then back again?
^x 4 b
.