diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index 215fcc2..c2b566d 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -1,6 +1,6 @@ ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-21T02:51:01+0100> +;; Time-stamp: <2020-01-24T23:25:31+0100> ;;; Commentary: ;; * Setup scratch buffer. @@ -75,6 +75,7 @@ (use-package window-purpose :pin melpa ; We need > 1.7 + :defer nil :config (purpose-mode) @@ -89,6 +90,10 @@ ;; All Magit buffers have the same purpose. (require 'window-purpose-x) (purpose-x-magit-single-on) + + :bind + ("" . purpose-toggle-window-purpose-dedicated) + ("C-" . purpose-toggle-window-buffer-dedicated) ) (provide 'basics/buffers)