Skip to content

Commit

Permalink
minor clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
countvajhula committed Nov 19, 2024
1 parent 31b7335 commit afffaca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Lithium allows you to define Vim-like modes using Emacs's minor mode infrastruct

Modes also define comprehensive lifecycle hooks so that custom behavior may be attached to mode pre-entry, post-entry, pre-exit, and post-exit.

Lithium resembles existing tools such as Hydra, Transient, and Evil. It differs from Hydra and Transient in being designed to be *persistent*, like Evil, and differs from Evil in being narrowly focused on modal behavior and thus minimal in comparison (Evil includes much more than just the modal interface), and also in supporting global (rather than buffer-local) modes. Lithium would be a good choice if what you're trying to do is fundamentally modal in nature (in the Vim sense), and if you would like to have clean and well-modeled transitions between modes. It's a good fit if your desired modal UI is *persistent* rather than "transient."
Lithium resembles existing tools such as Hydra, Transient, and Evil. It differs from Hydra and Transient in being designed to be *persistent*, like Evil, and differs from Evil in being narrowly focused on modal behavior and thus minimal in comparison (Evil includes much more than just the modal interface), and also in supporting global (rather than only buffer-local) modes. Lithium would be a good choice if what you're trying to do is fundamentally modal in nature (in the Vim sense), and if you would like to have clean and well-modeled transitions between modes. It's a good fit if your desired modal UI is *persistent* rather than "transient."

.. [1] Lithium is the lightest "metal." 🐶
Expand Down
1 change: 1 addition & 0 deletions lithium.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
(map nil :documentation "The keymap for the mode."))

(defvar-local lithium-mode-stack nil)

(defvar lithium-promoted-map nil
"The current overriding lithium mode keymap.
Expand Down

0 comments on commit afffaca

Please sign in to comment.