aboutsummaryrefslogtreecommitdiffstats
path: root/oni-grep.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-09-08 17:01:13 -0700
committerGravatar Tom Willemse2019-09-08 17:01:13 -0700
commita8e05a6b484f4ae67f8c6148e8db8882a357d132 (patch)
tree58200080e3db935bc3725c734e7373fd56fbe091 /oni-grep.el
parent071ab29871d219a2baa6abf18bedfae28963d866 (diff)
downloademacs-config-a8e05a6b484f4ae67f8c6148e8db8882a357d132.tar.gz
emacs-config-a8e05a6b484f4ae67f8c6148e8db8882a357d132.zip
Show grep windows in a bottom side buffer
Diffstat (limited to 'oni-grep.el')
-rw-r--r--oni-grep.el8
1 files changed, 7 insertions, 1 deletions
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 <tom@ryuslash.org>
;; 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)