• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Snippet #558

Created 7/3/2010, updated 5/18/2017
  • vim
  • snippets

I often find that after a long editing session in Vim I have a huge number of open buffers (100 or more) and my MiniBufExplorer ends up taking up half my screen. A quick "reset" can be achieved with :bufdo silent! bdelete which will blow away all buffers, except for those with unsaved changes in them.

← Snippet #559
Snippet #557 →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).