[Fix #399] Extract key-chord into a separate module
This commit is contained in:
parent
523a4851a6
commit
3239f5c724
5 changed files with 53 additions and 12 deletions
|
@ -114,17 +114,6 @@
|
|||
(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-word-mode)
|
||||
(key-chord-define-global "jl" 'ace-jump-line-mode)
|
||||
(key-chord-define-global "jk" 'ace-jump-char-mode)
|
||||
(key-chord-define-global "JJ" 'prelude-switch-to-previous-buffer)
|
||||
(key-chord-define-global "uu" 'undo-tree-visualize)
|
||||
|
||||
(key-chord-mode +1)
|
||||
|
||||
(provide 'prelude-global-keybindings)
|
||||
|
||||
;;; prelude-global-keybindings.el ends here
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
epl expand-region flx-ido flycheck gist
|
||||
gitconfig-mode gitignore-mode grizzl
|
||||
guru-mode projectile ido-ubiquitous
|
||||
key-chord magit move-text rainbow-mode
|
||||
magit move-text rainbow-mode
|
||||
smartparens smex undo-tree
|
||||
volatile-highlights zenburn-theme)
|
||||
"A list of packages to ensure are installed at launch.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue