Add ace-window package

This commit is contained in:
Wojciech Kozlowski 2019-12-15 16:04:24 +01:00
parent 39cfd598f3
commit 8d652a9c5a

View File

@ -20,6 +20,7 @@
(defvar emodule/emacs-packages
'(ace-jump-mode
ace-window
deadgrep
dired-subtree
discover
@ -171,10 +172,6 @@
(interactive)
(let (kill-buffer-query-functions) (kill-buffer))))
;; Change active window. More convenient than "C-x o".
(global-set-key (kbd "M-o") 'other-window)
(global-set-key (kbd "M-O") (lambda () (interactive) (other-window -1)))
;; Scroll up/down, but keep point in place.
(global-set-key (kbd "C-<") (lambda()
(interactive)
@ -330,6 +327,13 @@
(use-package ace-jump-mode
:bind (("C-c SPC" . ace-jump-mode)))
;; --------------------------------------------------------------------------
;; `ace-window'
;; --------------------------------------------------------------------------
(use-package ace-window
:bind (("M-o" . ace-window)))
;; --------------------------------------------------------------------------
;; `deadgrep'
;; --------------------------------------------------------------------------