From c36f9ff2f76e7506145c6fb233531bc223f3f525 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 15 Jun 2023 23:35:12 -0700 Subject: [oni-grep] Enable ‘hl-line-mode’ in ‘grep-mode’ 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(-) (limited to 'oni-grep.el') 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 -- cgit v1.2.3-54-g00ecf