forked from colonelpanic/dotfiles
Prefix argument to ace-jump-mode now does it across all windows.
This commit is contained in:
parent
5d0eca62d7
commit
08091bd349
@ -337,6 +337,7 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)))
|
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)))
|
||||||
|
|
||||||
(eval-after-load 'subword '(diminish 'subword-mode))
|
(eval-after-load 'subword '(diminish 'subword-mode))
|
||||||
|
(eval-after-load 'simple '(diminish 'visual-line-mode))
|
||||||
|
|
||||||
(display-time-mode 1)
|
(display-time-mode 1)
|
||||||
(setq reb-re-syntax 'string)
|
(setq reb-re-syntax 'string)
|
||||||
@ -392,7 +393,8 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
|
|
||||||
(use-package ace-jump-mode
|
(use-package ace-jump-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands ace-jump-mode
|
:commands (ace-jump-mode imalison:ace-jump-mode)
|
||||||
|
:bind (("C-j" . imalison:ace-jump-mode))
|
||||||
:init
|
:init
|
||||||
(progn
|
(progn
|
||||||
(use-package ace-window
|
(use-package ace-window
|
||||||
@ -401,8 +403,11 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
:bind ("C-c w" . ace-select-window)))
|
:bind ("C-c w" . ace-select-window)))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(setq ace-jump-mode-scope 'window))
|
(setq ace-jump-mode-scope 'window)
|
||||||
:bind (("C-j" . ace-jump-mode)))
|
(defun imalison:ace-jump-mode (&optional prefix)
|
||||||
|
(interactive "P")
|
||||||
|
(let ((ace-jump-mode-scope (if prefix 'global 'window)))
|
||||||
|
(ace-jump-mode 0)))))
|
||||||
|
|
||||||
(use-package ace-isearch
|
(use-package ace-isearch
|
||||||
:ensure t
|
:ensure t
|
||||||
|
Loading…
Reference in New Issue
Block a user