key-chord
keyword support for use-package
that is
built into Emacs.
Recommended install from MELPA with M-x package-install use-package-chords
. Then require it after use-package
, i.e.:
(require 'use-package)
(use-package use-package-chords
:demand t
:config (key-chord-mode 1))
With this extension, you can define chords using the :chords
keyword in the same manner
as :bind
and related keywords, using a cons or a list of conses:
(use-package ace-jump-mode
:chords
("jj" . ace-jump-char-mode)
("jk" . ace-jump-word-mode)
("jl" . ace-jump-line-mode))