syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.58k stars 4.9k forks source link

Feature Request: Add option for recentf buffers for compleseus layer #16301

Closed fleimgruber closed 3 months ago

fleimgruber commented 4 months ago

Using the compleseus layer a SPC b b (compleseus-switch-to-buffer) contains "Buffer", "File", "Bookmark", "Project Buffer", and "Project File" sections, but is missing a "Recent File" section. What would be the recommended way to add this section and make it configurable in the layer?

fnussbaum commented 3 months ago

The "File" section by default exclusively shows recent files as collected by the built-in recentf-mode (which provides some customization options).

fleimgruber commented 3 months ago

Sorry for the noise. FWIW, I realize that I tested this during a vicious cycle of recompiling Emacs where it apparently crashed before saving the recentf information. Clean exits or recentf writing at other times lead to the expected completions being present.