diff options
author | 2023-06-15 23:35:12 -0700 | |
---|---|---|
committer | 2023-06-15 23:35:12 -0700 | |
commit | c36f9ff2f76e7506145c6fb233531bc223f3f525 (patch) | |
tree | ae5ebf353b2f9382c4199f715e32257224054cc7 /oni-grep.el | |
parent | de53fb6f1c5574f3731923f5b136ce2ee01e118c (diff) | |
download | emacs-config-c36f9ff2f76e7506145c6fb233531bc223f3f525.tar.gz emacs-config-c36f9ff2f76e7506145c6fb233531bc223f3f525.zip |
[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.
Diffstat (limited to 'oni-grep.el')
-rw-r--r-- | oni-grep.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 <tom@ryuslash.org> ;; 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 |