:bnext가 vim의 모든 버퍼를 순환하지 않습니다.

:bnext가 vim의 모든 버퍼를 순환하지 않습니다.

어떤 이유로 :bnext가 :buffers에 표시된 모든 버퍼를 순환하지 않습니다.

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!.

관련 정보