Replace ace-jump-mode with avy
This commit is contained in:
parent
30fea6d9d6
commit
b2947f2164
6 changed files with 17 additions and 16 deletions
|
@ -122,8 +122,8 @@
|
|||
|
||||
(setq evil-shift-width 2)
|
||||
|
||||
;;; enable ace-jump mode with evil-mode
|
||||
(define-key evil-normal-state-map (kbd "SPC") 'ace-jump-mode)
|
||||
;;; enable avy with evil-mode
|
||||
(define-key evil-normal-state-map (kbd "SPC") 'avy-goto-word-1)
|
||||
|
||||
;;; snagged from Eric S. Fraga
|
||||
;;; http://lists.gnu.org/archive/html/emacs-orgmode/2012-05/msg00153.html
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
|
||||
(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" 'avy-goto-word-1)
|
||||
(key-chord-define-global "jl" 'avy-goto-line)
|
||||
(key-chord-define-global "jk" 'avy-goto-char)
|
||||
(key-chord-define-global "JJ" 'prelude-switch-to-previous-buffer)
|
||||
(key-chord-define-global "uu" 'undo-tree-visualize)
|
||||
(key-chord-define-global "xx" 'execute-extended-command)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue