diff options
author | Alan Pearce | 2015-05-20 12:09:07 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-20 12:09:07 +0200 |
commit | 01d31a2f4d73263dcab1478c1a35e756e1e3fbd4 (patch) | |
tree | 2a016b5bb6c672aa45cac7ef193d90c9c36aac80 | |
parent | 455eaec31cdbb827aa4111d59f37d34a021edb1d (diff) | |
download | dotfiles-01d31a2f4d73263dcab1478c1a35e756e1e3fbd4.tar.lz dotfiles-01d31a2f4d73263dcab1478c1a35e756e1e3fbd4.tar.zst dotfiles-01d31a2f4d73263dcab1478c1a35e756e1e3fbd4.zip |
Emacs: Replace ace-jump-mode with avy
-rw-r--r-- | tag-emacs/emacs.d/Cask | 2 | ||||
-rw-r--r-- | tag-emacs/emacs.d/init.el | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index eb15bd9..580361d 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -4,7 +4,7 @@ (source melpa-stable) (source org) -(depends-on "ace-jump-mode") +(depends-on "avy") (depends-on "ag") (depends-on "async") (depends-on "auto-compile") diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 03e2abc..55efdbe 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)) |