Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monokrome/buffersweeper.vim
Automatically closes excess buffers when they become hidden.
https://github.com/monokrome/buffersweeper.vim
Last synced: 12 days ago
JSON representation
Automatically closes excess buffers when they become hidden.
- Host: GitHub
- URL: https://github.com/monokrome/buffersweeper.vim
- Owner: monokrome
- License: mit
- Created: 2013-11-08T01:38:30.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-09T22:29:14.000Z (about 11 years ago)
- Last Synced: 2024-10-17T10:18:58.624Z (29 days ago)
- Language: VimL
- Homepage:
- Size: 117 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
buffersweeper.vim
=================Automatically closes unchanged buffers when they become hidden.
Why?
----I am sure that this is useful in any case where you don't like Vim letting
unmodified buffers sitting around, but the most immediate problem solved by
this plugin comes into play when you use `set hidden` and move between many
files or keep Vim open for long amounts of time.In these cases, Vim can suffer from sluggishnes and/or other unwanted behavior
due to having many buffers hidden or from having an unnecessary buffer sitting
around for a long amount of time.[buffersweeper.vim][bs] helps prevent this by closing any buffers which are
unmodified when they become hidden.For instance, if I've been working on a [Django][dj] project for the last week
and I've spent quite a bit of time overviewing the way by which Django performs
certain operations - it's possible that I may have many Django files sitting
around as stray buffers. With this plugin, after I have viewed what I needed in
the plugin and closed it's window (or changed the buffer being displayed in
that window) the buffer for that file will be automatically closed because it
has not been modified.[bs]: https://github.com/monokrome/buffersweeper.vim
[dj]: https://www.djangoproject.com/