all repos — archive/dotfiles @ 01d31a2f4d73263dcab1478c1a35e756e1e3fbd4

Superseded by nixfiles

Emacs: Replace ace-jump-mode with avy
Alan Pearce alan.pearce@spotcap.com
Wed, 20 May 2015 12:09:07 +0200
commit

01d31a2f4d73263dcab1478c1a35e756e1e3fbd4

parent

455eaec31cdbb827aa4111d59f37d34a021edb1d

2 files changed, 7 insertions(+), 7 deletions(-)

jump to
M tag-emacs/emacs.d/Casktag-emacs/emacs.d/Cask
@@ -4,7 +4,7 @@ (source melpa) (source melpa-stable)
 (source org)
 
-(depends-on "ace-jump-mode")
+(depends-on "avy")
 (depends-on "ag")
 (depends-on "async")
 (depends-on "auto-compile")
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1160,13 +1160,13 @@ :defer t   :config (progn
             (add-hook 'markdown-mode-hook #'turn-on-auto-fill)))
 
-(req-package ace-jump-mode
-  :bind (("C-c SPC" . ace-jump-mode)
-         ("C-|" . ace-jump-line-mode))
+(req-package avy
+  :bind (("M-g g" . avy-goto-line)
+		 ("M-g M-g" . avy-goto-line)
+		 ("C-c SPC" . avy-goto-char))
   :config (progn
-            (ace-jump-mode-enable-mark-sync)
-            (setq ace-jump-word-mode-use-query-char nil
-                  ace-jump-mode-scope 'window)))
+			(avy-setup-default)
+			(setq avy-all-windows nil)))
 
 (req-package expand-region
   :bind ("C-M-SPC" . er/expand-region))