A persistent scratch buffer

The *scratch* buffer is useful for dumping temporary bits of text, or trying out bits of lisp code. By default the contents are not saved, but it can be handy to have the scratch buffer saved and restored when you start a new Emacs session. This is easy with the persistent-scratch package, just add the following to your emacs config file:

;; persistent-scratch
(use-package persistent-scratch
  :config
  (persistent-scratch-setup-default))