diff options
author | Case Duckworth | 2021-09-03 12:20:49 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-03 12:20:49 -0500 |
commit | 960af911b174ee4b38819af91c8efa270927b214 (patch) | |
tree | 1f54c34e597dd266e152dc93526c7933688b2cef | |
parent | Refactor `safely' (diff) | |
download | emacs-960af911b174ee4b38819af91c8efa270927b214.tar.gz emacs-960af911b174ee4b38819af91c8efa270927b214.zip |
First foray into display-buffer-alist hacking
-rw-r--r-- | init.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/init.el b/init.el index 83bc1be..e492c6d 100644 --- a/init.el +++ b/init.el | |||
@@ -759,7 +759,7 @@ like a dumbass." | |||
759 | windmove-swap-states-down)) | 759 | windmove-swap-states-down)) |
760 | (put sym 'repeat-map 'windmove-repeat-map)))) | 760 | (put sym 'repeat-map 'windmove-repeat-map)))) |
761 | 761 | ||
762 | (setup windows | 762 | (setup window |
763 | (require 'acdw-bell) | 763 | (require 'acdw-bell) |
764 | (:option use-dialog-box nil | 764 | (:option use-dialog-box nil |
765 | use-file-dialog nil | 765 | use-file-dialog nil |
@@ -769,6 +769,17 @@ like a dumbass." | |||
769 | (acdw-bell/flash-mode-line | 769 | (acdw-bell/flash-mode-line |
770 | (acdw/system :home))) | 770 | (acdw/system :home))) |
771 | recenter-positions '(top middle bottom)) | 771 | recenter-positions '(top middle bottom)) |
772 | |||
773 | ;; from FrostyX: | ||
774 | ;; https://github.com/frostyx/dotfiles/blob/master/.emacs.d/frostyx.org#window-management | ||
775 | (:option display-buffer-alist | ||
776 | '(("shell.*" (display-buffer-same-window) ()) | ||
777 | (".*" (display-buffer-reuse-window | ||
778 | display-buffer-same-window) | ||
779 | (reusable-frames . t))) | ||
780 | ;; `display-buffer-alist' isn't respected by every command, so we | ||
781 | ;; /also/ need to set some of these. | ||
782 | Man-notify-method 'pushy) | ||
772 | 783 | ||
773 | (tooltip-mode -1)) | 784 | (tooltip-mode -1)) |
774 | 785 | ||