Giter VIP home page Giter VIP logo

clean-buffers's Introduction

NOTE

please use M-x clean-buffer-list instead, which is defined in midnight.el.

what is clean-buffers

clean-buffers is a little tool that used to clean useless buffers which means buffers match specify regex (see clean-buffer-useless-buffer-names) or undisplayed time exceeded certain time (see clean-buffer-useless-buffer-timeout)

How to use

config useless-buffer-names or useless-buffer-time-out and then execute the following commands:

clean-buffers-kill-useless-buffers to clean useless buffers

or clean-buffers-turn-on-auto-clean-buffers to clean useless buffers automatically

Customization

  • clean-buffers-kill-active-buffer - If no-nil, will clean active buffer. Default to nil.
  • clean-buffers-kill-proces-holding-buffer - If non-nil, will clean process-holding buffer. Default to nil
  • clean-buffers-judge-useless-buffer-functions - function list which used to determine a buffer is useless or not the function will take a buffer as the only argument and should return non-nil when the buffer is a useless buffer.
  • clean-buffers-useless-buffer-time-out - buffers who's undisplayed time exceeded this value will be considered useless
  • clean-buffers-useless-buffer-names - buffers who's name match one regex in this value will be considered useless.
  • clean-buffers-useful-buffer-names - buffers who's name match one regex in this value will not considered useless.

clean-buffers's People

Contributors

lujun9972 avatar jcs090218 avatar syohex avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.