diff options
author | JSDurand <mmemmew@gmail.com> | 2021-12-06 10:55:42 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-12-06 10:55:42 +0800 |
commit | 88560a1b292c74accecdf8f46de9ff84a65d3e9b (patch) | |
tree | e55d7b1cf50cf2a8af3fa7aa8b41793165835c64 | |
parent | 7501c0b65c6226ed354f61854af5dfc33c96bd51 (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.el | 4 | ||||
-rw-r--r-- | init.el | 21 |
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 @@ -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" |