summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-12-06 10:55:42 +0800
committerJSDurand <mmemmew@gmail.com>2021-12-06 10:55:42 +0800
commit88560a1b292c74accecdf8f46de9ff84a65d3e9b (patch)
treee55d7b1cf50cf2a8af3fa7aa8b41793165835c64
parent7501c0b65c6226ed354f61854af5dfc33c96bd51 (diff)
LIN Is Noticeable
* bookmark-conf.el (blist-mode-hook): Highlight the current line. * init.el ("protesilaos/lin"): Add the package to remap some highlights.
-rw-r--r--bookmark-conf.el4
-rw-r--r--init.el21
2 files changed, 25 insertions, 0 deletions
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"