Show grep windows in a bottom side buffer
This commit is contained in:
parent
071ab29871
commit
a8e05a6b48
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue