Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/waymondo/use-package-chords

key-chord keyword for use-package
https://github.com/waymondo/use-package-chords

Last synced: about 2 months ago
JSON representation

key-chord keyword for use-package

Awesome Lists containing this project

README

        

[`key-chord`](http://www.emacswiki.org/emacs/key-chord.el) keyword support for `use-package` that is
built into Emacs.

## Installation and Usage

Recommended install from [MELPA](https://melpa.org/) with `M-x
package-install use-package-chords`. Then require it after `use-package`, i.e.:

``` elisp
(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:

``` elisp
(use-package ace-jump-mode
:chords
("jj" . ace-jump-char-mode)
("jk" . ace-jump-word-mode)
("jl" . ace-jump-line-mode))
```