From WikEmacs
Jump to navigation Jump to search
Description map pairs of simultaneously pressed keys to commands
Author name of author
Maintainer emacsorphenage
Part of Emacs no

In this package, a "key chord" is two keys pressed simultaneously, or a single key quickly pressed twice. With key-chord, we can map any command to a chord.

Quick start

Install this package (on MELPA).

Add to your ~/.emacs

(require 'key-chord)
(key-chord-mode 1)

and some chords, for example

(key-chord-define-global "hj"     'undo)
(key-chord-define-global ",."     "<>\C-b")
(key-chord-define-global "'k" 'kill-buffer)
(key-chord-define-global "'." 'ace-jump-mode) ;; select characters to jump to
(key-chord-define-global "''" 'save-buffer)
(key-chord-define-global "'b" 'ido-switch-buffer)

Description and usage

Read more on its melpa page !