From c36f9ff2f76e7506145c6fb233531bc223f3f525 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 15 Jun 2023 23:35:12 -0700 Subject: [PATCH] =?UTF-8?q?[oni-grep]=20Enable=20=E2=80=98hl-line-mode?= =?UTF-8?q?=E2=80=99=20in=20=E2=80=98grep-mode=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes it easier to see which line I'm looking at while going through the hits. --- oni-grep.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oni-grep.el b/oni-grep.el index 25545ed..bbd649e 100644 --- a/oni-grep.el +++ b/oni-grep.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.1123.003553 +;; Version: 2023.0615.232817 ;; 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 @@ -47,5 +47,7 @@ (add-to-list 'grep-find-ignored-directories ".cask") +(add-hook 'grep-mode-hook 'hl-line-mode) + (provide 'oni-grep) ;;; oni-grep.el ends here