Starting to use Mood Line
This commit is contained in:
parent
c0a1d5c2d7
commit
3c57ea07af
3 changed files with 55 additions and 3 deletions
|
|
@ -113,9 +113,15 @@ I might switch to [[https://github.com/cxa/agent-shell-macext#start-of-content][
|
|||
*** Agent Skills
|
||||
The following pulls in [[https://github.com/xenodium/emacs-skills][emacs-skills]], a Claude Agent skills for Emacs:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package emacs-skills
|
||||
:straight (:type git :host github :repo "xenodium/emacs-skills"))
|
||||
#+BEGIN_SRC sh
|
||||
claude plugin marketplace add xenodium/emacs-skills
|
||||
claude plugin install emacs-skills@xenodium-emacs-skills
|
||||
#+END_SRC
|
||||
|
||||
Often update with:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
claude plugin marketplace update xenodium-emacs-skills
|
||||
#+END_SRC
|
||||
|
||||
The most helpful is =/open= that you run afterwards to pull the changes into buffers for complete review. Use the =/highlight= variation to see the changes highlighted.
|
||||
|
|
|
|||
|
|
@ -58,6 +58,42 @@ Let's install and load some of packages from the [[https://github.com/hlissner/d
|
|||
doom-modeline-percent-position nil)
|
||||
(doom-modeline-mode 1))
|
||||
#+end_src
|
||||
|
||||
After reading [[https://blog.davep.org/2026/06/12/simplifying-my-mode-line.html][this essay]], I decided to try
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package mood-line
|
||||
:ensure t
|
||||
:custom
|
||||
;; (mood-line-format mood-line-format-default)
|
||||
(setq mood-line-glyph-alist mood-line-glyphs-fira-code)
|
||||
|
||||
:config
|
||||
(mood-line-mode 1)
|
||||
(setq mood-line-format
|
||||
(mood-line-defformat
|
||||
:padding ""
|
||||
:left
|
||||
(((mood-line-segment-modal) . " ")
|
||||
((mood-line-segment-anzu) . " ")
|
||||
((mood-line-segment-buffer-status) . " ")
|
||||
((mood-line-segment-buffer-name) . " ")
|
||||
" ")
|
||||
:right
|
||||
(((mood-line-segment-process) . " ")
|
||||
((mood-line-segment-major-mode) . " ")
|
||||
((mood-line-segment-misc-info) . " ")
|
||||
((mood-line-segment-vc) . " ")
|
||||
((mood-line-segment-checker) . " "))))
|
||||
|
||||
(setq mood-line-segment-modal-evil-state-alist
|
||||
`((normal ,(nerd-icons-mdicon "nf-md-alpha_n_circle") . font-lock-keyword-face)
|
||||
(insert ,(nerd-icons-mdicon "nf-md-alpha_i_circle") . font-lock-variable-name-face)
|
||||
(visual ,(nerd-icons-mdicon "nf-md-alpha_v_circle") . font-lock-string-face)
|
||||
(replace ,(nerd-icons-mdicon "nf-md-alpha_r_circle") . font-lock-type-face)
|
||||
(motion ,(nerd-icons-mdicon "nf-md-alpha_m_circle") . font-lock-constant-face)
|
||||
(emacs ,(nerd-icons-mdicon "nf-md-alpha_r_circle") . font-lock-constant-face))))
|
||||
#+END_SRC
|
||||
* Window Dimmer
|
||||
To make the active window /more noticeable/, we /dim/ the in-active windows with the [[https://github.com/gonewest818/dimmer.el][dimmer project]].
|
||||
|
||||
|
|
|
|||
10
ha-evil.org
10
ha-evil.org
|
|
@ -355,6 +355,16 @@ And the keybindings:
|
|||
|
||||
Why not use ~f~? I’m reserving the ~f~ for a tree-sitter version that is not always available for all modes… yet.
|
||||
* Evil Extensions
|
||||
** Anzu
|
||||
[[https://github.com/emacsorphanage/anzu][Anzu]] provides a minor mode which displays current match and total matches information in the mode-line in various search modes.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package anzu
|
||||
:ensure t
|
||||
:config
|
||||
(global-anzu-mode +1))
|
||||
#+END_SRC
|
||||
|
||||
** Evil Exchange
|
||||
I often use the Emacs commands, ~M-t~ and whatnot to exchange words and whatnot, but this requires a drop out of normal state mode. The [[https://github.com/Dewdrops/evil-exchange][evil-exchange]] project attempts to do something similar, but in a VI-way, and the /objects/ do not need to be adjacent.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue