From 01d31a2f4d73263dcab1478c1a35e756e1e3fbd4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 20 May 2015 12:09:07 +0200 Subject: Emacs: Replace ace-jump-mode with avy --- tag-emacs/emacs.d/init.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tag-emacs/emacs.d/init.el') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 03e2abcd..55efdbe8 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1160,13 +1160,13 @@ symbol, not word, as I need this for programming the most." :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)) -- cgit 1.4.1