From a8e05a6b484f4ae67f8c6148e8db8882a357d132 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 8 Sep 2019 17:01:13 -0700 Subject: Show grep windows in a bottom side buffer --- oni-grep.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/oni-grep.el b/oni-grep.el index deb4a76..f9d9ef9 100644 --- a/oni-grep.el +++ b/oni-grep.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.0904.210546 +;; Version: 2019.0908.165900 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -39,6 +39,12 @@ (setq find-ls-option (cons (concat "-exec " exe " -ld {} \";\"") "-ld")))) +(add-to-list 'display-buffer-alist + '("\\`\\*grep\\*\\'" display-buffer-in-side-window + (side . bottom) + (slot . 0) + (window-height . 0.33))) + ;;;###autoload(with-eval-after-load 'grep (require 'oni-grep)) (provide 'oni-grep) -- cgit v1.2.3-54-g00ecf