How to avoid having six million buffers open

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • telescope.nvim

    Find, Filter, Preview, Pick. All lua, all the time.

  • I switched to neovim a few years ago; didn't notice much a difference since I was using the same .vimrc. Maybe it was faster, but nothing else really changes. The first major "Wow!" moment I had was using telescope.nvim.

  • vim-ctrlspace

    Vim Space Controller

  • I thought it would be nice to have something like :ls but only for buffers of a current tab. There's a plugin that does exactly that: https://github.com/vim-ctrlspace/vim-ctrlspace. It supports fuzzy search of buffers (as well as files in your project), but I mostly use j/k in the buffer selection list. You can do browsing in a separate tab to keep those uninteresting buffers separate from everything else. I just no longer use :ls since it still contains a list of all buffers ever opened, and vim-ctrlspace buffer switching is much better. Though I sometimes still use :b filename.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • harpoon

  • You can check The Primagen's Harpoon

  • BufOnly.vim

    Delete all the buffers except the current/named buffer

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts