replace ace-jump-mode with avy.
This commit is contained in:
parent
9e13ce8c45
commit
f42e8a5c9e
@ -456,23 +456,16 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
:bind (("C-;" . jump-char-forward))
|
:bind (("C-;" . jump-char-forward))
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
(use-package ace-jump-mode
|
(use-package avy
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (ace-jump-mode imalison:ace-jump-mode)
|
:bind (("C-j" . avy-goto-char)
|
||||||
:bind (("C-j" . imalison:ace-jump-mode))
|
("M-g f" . avy-goto-line)
|
||||||
:init
|
("C-'" . avy-goto-char-2)))
|
||||||
(progn
|
|
||||||
(use-package ace-window
|
(use-package ace-window
|
||||||
:ensure t
|
:ensure t
|
||||||
:config (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l))
|
:config (setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l))
|
||||||
:bind ("C-c w" . ace-select-window)))
|
:bind ("C-c w" . ace-select-window))
|
||||||
:config
|
|
||||||
(progn
|
|
||||||
(setq ace-jump-mode-scope 'window)
|
|
||||||
(defun imalison:ace-jump-mode (&optional prefix)
|
|
||||||
(interactive "P")
|
|
||||||
(let ((ace-jump-mode-scope (if prefix 'global 'window)))
|
|
||||||
(ace-jump-mode 0)))))
|
|
||||||
|
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:ensure t
|
:ensure t
|
||||||
|
Loading…
Reference in New Issue
Block a user