1
0
Fork 0

Show grep windows in a bottom side buffer

This commit is contained in:
Tom Willemse 2019-09-08 17:01:13 -07:00
parent 071ab29871
commit a8e05a6b48

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2019.0904.210546 ;; Version: 2019.0908.165900
;; This program is free software; you can redistribute it and/or modify ;; 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 ;; it under the terms of the GNU General Public License as published by
@ -39,6 +39,12 @@
(setq find-ls-option (setq find-ls-option
(cons (concat "-exec " exe " -ld {} \";\"") "-ld")))) (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)) ;;;###autoload(with-eval-after-load 'grep (require 'oni-grep))
(provide 'oni-grep) (provide 'oni-grep)