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.")