From a773861e0682ee3d0204560840dccf302c4cdfb8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 20 May 2015 16:36:13 +0200 Subject: Emacs: Install and configure ace-window-mode --- tag-emacs/emacs.d/init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) (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 28e9a18..0862130 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1175,6 +1175,19 @@ symbol, not word, as I need this for programming the most." (avy-setup-default) (setq avy-all-windows nil))) +(req-package ace-window + :bind (("s-s" . ace-window)) + :config (progn + (setq aw-dispatch-always t + aw-dispatch-alist '((?k aw-delete-window " Ace - Delete Window") + (?m aw-swap-window " Ace - Swap Window") + (?f aw-flip-window) + (?v aw-split-window-vert " Ace - Split Vert Window") + (?b aw-split-window-horz " Ace - Split Horz Window") + (?m delete-other-windows " Ace - Maximize Window") + (?l delete-other-windows)) + aw-keys '(?a ?r ?s ?t ?n ?e ?i ?o)))) + (req-package expand-region :bind ("C-M-SPC" . er/expand-region)) -- cgit 1.4.1