5

Using vim editor, a common task is to browse buffers. I now use standard commands like :ls or a :cnext

I would like to browse buffers as list in quickfix window, in the simple (=excellent) way MRU plugin (https://github.com/yegappan/mru) implement.

There is a plugin simple as MRU files but acting on buffers ?

OK, a possible solution could be to use :CtrlpBuffers command, part of Ctrlp plugin (https://github.com/kien/ctrlp.vim) but I'm not a big fan of Ctrlp, that have sometime beahviours I do not fully understand (the fuzzy choices...); so I'm look for something really simple as MRU plugin.

BTW, I joked with :cexpr {expr} command, trying populate the quickfix windows with content of :buffers list, without success (maybe because my ignorance programming vimscripts)

Any suggestion ?

thanks giorgio

Giorgio Robino
  • 2,148
  • 6
  • 38
  • 59

1 Answers1

5

Have a look at the bufexplorer plugin. It opens a browsable list of all buffers in a sidebar, similar to the mentioned MRU plugin. Also, there are several more such plugins on vim.org.

Ingo Karkat
  • 167,457
  • 16
  • 250
  • 324