From 0339d5a4b3ad2cda20c7d7c1d86420f4f0a460ca Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 11 Apr 2013 18:27:32 +0300 Subject: [PATCH] Introduce key-chord to the default-packages --- core/prelude-global-keybindings.el | 7 +++++++ core/prelude-packages.el | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/core/prelude-global-keybindings.el b/core/prelude-global-keybindings.el index b5de865..de1d310 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -111,6 +111,13 @@ (global-set-key (kbd "C-c SPC") 'ace-jump-mode) (global-set-key (kbd "C-x SPC") 'ace-jump-mode-pop-mark) +;; key chords +(require 'key-chord) + +(key-chord-define-global "jj" 'ace-jump-mode) + +(key-chord-mode +1) + (provide 'prelude-global-keybindings) ;;; prelude-global-keybindings.el ends here diff --git a/core/prelude-packages.el b/core/prelude-packages.el index 1975f05..05900ff 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -44,7 +44,7 @@ expand-region flycheck gist git-commit-mode gitconfig-mode gitignore-mode guru-mode helm helm-projectile - magit melpa + key-chord magit melpa rainbow-mode solarized-theme undo-tree volatile-highlights yasnippet zenburn-theme) "A list of packages to ensure are installed at launch.")