PREV Mode Line UP Miscellaneous Configuration NEXT Nonstandard Paths

6.4: Key Bindings

The Mailcrypt key bindings are defined by the keymaps mc-read-mode-map and mc-write-mode-map. To change the key bindings, you just need to set these variables in your `.emacs' file.

For example, if you wanted C-c C-m to be the Mailcrypt prefix (instead of C-c /) in mc-read-mode, you would put the following code in your `.emacs' file:

(setq mc-read-mode-map (make-sparse-keymap))
(define-key mc-read-mode-map "\C-c\C-mf" 'mc-deactivate-passwd)
(define-key mc-read-mode-map "\C-c\C-md" 'mc-decrypt)
(define-key mc-read-mode-map "\C-c\C-mv" 'mc-verify)
(define-key mc-read-mode-map "\C-c\C-ma" 'mc-snarf)
(define-key mc-read-mode-map "\C-c\C-mk" 'mc-pgp-fetch-key)

For more information on Emacs key bindings, see Key Bindings.

PREV Mode Line UP Miscellaneous Configuration NEXT Nonstandard Paths