From afe2692e4d5624662fb158cea1c09ee2170ec5a5 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 11 May 2022 20:16:20 +0800 Subject: Use edwina in emacs --- .emacs.d/lisp/init-misc.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index a34b0b5..2dc3dd5 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -108,4 +108,9 @@ (add-hook 'after-init-hook #'save-place-mode 'append) +(when (gx/maybe-require-package 'edwina) + (setq display-buffer-base-action '(display-buffer-below-selected)) + (autoload #'edwina-mode "edwina" nil t) + (add-hook 'after-init-hook #'edwina-mode 'append)) + (provide 'init-misc) -- cgit v1.2.3