From 88560a1b292c74accecdf8f46de9ff84a65d3e9b Mon Sep 17 00:00:00 2001 From: JSDurand Date: Mon, 6 Dec 2021 10:55:42 +0800 Subject: LIN Is Noticeable * bookmark-conf.el (blist-mode-hook): Highlight the current line. * init.el ("protesilaos/lin"): Add the package to remap some highlights. --- bookmark-conf.el | 4 ++++ init.el | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/bookmark-conf.el b/bookmark-conf.el index f3883e7..79c6589 100644 --- a/bookmark-conf.el +++ b/bookmark-conf.el @@ -36,6 +36,10 @@ ;;; Customizations +;;;; HL-LINE + +(add-hook 'blist-mode-hook #'hl-line-mode) + ;;;; I am not an expert ;; I prefer not being an expert now, as deleting bookmarks is quite diff --git a/init.el b/init.el index c0e0c71..f248d7e 100644 --- a/init.el +++ b/init.el @@ -162,6 +162,27 @@ no effect." (use-package "rainbow-mode" 'rainbow-mode) +;;; LIN Is Noticeable + +;; This is a package by Protesilaos. + +(use-package "protesilaos/lin" 'lin + (let ((list-of-hooks '(git-rebase-mode-hook + ibuffer-mode-hook + magit-log-mode-hook + notmuch-search-mode-hook + notmuch-tree-mode-hook + org-agenda-mode-hook + tabulated-list-mode-hook + blist-mode-hook))) + (mapc + (lambda (hook) + (cond + ;; don't do anything if the variable is not bounded. + ((boundp hook) + (add-hook hook #'lin-mode)))) + list-of-hooks))) + ;;; outline (load-after-function durand-maybe-enable-outline "outline-conf.el" -- cgit v1.2.3-18-g5258