:bnextはvimのすべてのバッファを繰り返すわけではありません。

:bnextはvimのすべてのバッファを繰り返すわけではありません。

何らかの理由で:bnextは繰り返されません。すべてのバッファを表示するバッファ

5つのバッファが開いていますが:bnextを繰り返し使用すると、3つのバッファにのみアクセスされます。

vimで開いているすべてのバッファを繰り返すには?

答え1

次のドキュメントでこの特別な動作を確認できます:help :bnext

  If you are in a help buffer, this takes you to the next help
  buffer (if there is one).  Similarly, if you are in a normal
  (non-help) buffer, this takes you to the next normal buffer.
  This is so that if you have invoked help, it doesn't get in
  the way when you're browsing code/text buffers.

ナビゲーションに含めるには、次を使用します。:setlocal buftype=

リストにないバッファまた考慮されません:bnext(cp。:help 'buflisted')。ただし、バッファリストに表示されるものにはを使用する必要があります:buffers!

関連情報