2024-09-24 Tuesday

今日のあれこれ

歯医者に行った。次の予約は年明けだってよ。お盆過ぎたらすぐ年末、彼岸過ぎたらもう正月、実感。

今日のEmacsさん

all-the-icons と kind-icon を止めて nerd-icons に統一してみた。現実逃避なのかも?

nerd-icons を設定した今日のEmacsさん

nerd-icons

    (leaf nerd-icons
      :ensure t)

nerd-icons-dired

   (leaf nerd-icons-dired
     :ensure t
     :hook (dired-mode-hook))

nerd-icons-completion

  (leaf nerd-icons-completion
    :ensure t
    :after marginalia
    :hook ((marginalia-mode-hook . nerd-icons-completion-marginalia-setup))
    :require t
    :config
    (nerd-icons-completion-mode))

nerd-icons-corfu

  (leaf nerd-icons-corfu
    :ensure t
    :after corfu nerd-icons
    :config
    (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))

Prefix currento candidate with arrow

https://github.com/minad/vertico/wiki#prefix-current-candidate-with-arrow

  (defvar +vertico-current-arrow t)

  (cl-defmethod vertico--format-candidate :around
    (cand prefix suffix index start &context ((and +vertico-current-arrow
                                                   (not (bound-and-true-p vertico-flat-mode)))
                                              (eql t)))
    (setq cand (cl-call-next-method cand prefix suffix index start))
    (if (bound-and-true-p vertico-grid-mode)
        (if (= vertico--index index)
            (concat #("▶" 0 1 (face vertico-current)) cand)
          (concat #("_" 0 1 (display " ")) cand))
      (if (= vertico--index index)
          (concat
           #(" " 0 1 (display (left-fringe right-triangle vertico-current)))
           cand)
        cand)))

今日のごはん

  • 朝: キムチ鍋のスープごはん
  • 昼: アジフライ 卵焼き ひじきなど ご飯 (お弁当)
  • 晩: 回鍋肉 厚揚げの炒め物 ご飯
  • デザート: ヨーグルト 葡萄

今日もとりあえず飲まない

故あってしばらく飲まない…(つもり)

198日目