从`:bnext``:bprevious`中排除quickfix缓冲区

kas*_*bah 11 vim

quickfix缓冲区(:cope:make例如之后打开)包含在:bnext :bprevious我经常使用的导航中(已将其映射到箭头键).我从来不想以这种方式导航到quickfix缓冲区.有没有一种好方法可以排除它?

rom*_*inl 18

这是一个简单的解决方案:

augroup qf
    autocmd!
    autocmd FileType qf set nobuflisted
augroup END
Run Code Online (Sandbox Code Playgroud)

:help 'buflisted'.