Enable midnight-mode
Right now it only closes some old buffers. Maybe i’ll add more stuff later.
This commit is contained in:
parent
280f1168b5
commit
62d9228650
@ -1338,6 +1338,20 @@ The cookies are from the Hungarian version an ancient MS-DOS based program calle
|
||||
:commands (goto-address-prog-mode goto-address-mode))
|
||||
#+END_SRC
|
||||
|
||||
** Do things at midnight
|
||||
|
||||
By default, it closes a bunch of unused buffers. I might add some more things there later.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package midnight
|
||||
:ensure nil
|
||||
:config
|
||||
(setq clean-buffer-list-kill-never-buffer-names '("*scratch*"
|
||||
"*Messages*"
|
||||
"*dashboard*"))
|
||||
(midnight-mode t))
|
||||
#+END_SRC
|
||||
|
||||
* ~use-package~ packages
|
||||
|
||||
** Automatically upgrade packages every week
|
||||
@ -3025,6 +3039,7 @@ directory. It is available from [[http://plantuml.com/download][here]].
|
||||
(define-key 'help-command (kbd "C-k") 'find-function-on-key)
|
||||
(define-key 'help-command (kbd "C-v") 'find-variable)
|
||||
#+END_SRC
|
||||
|
||||
* And finally, server mode
|
||||
|
||||
Sometimes i start an ~emacsclient~ process, like for editing a commit message or something
|
||||
|
Loading…
Reference in New Issue
Block a user