diff options
author | Alan Pearce | 2015-05-20 16:36:13 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-20 16:36:13 +0200 |
commit | a773861e0682ee3d0204560840dccf302c4cdfb8 (patch) | |
tree | 00ac36346ebcce2e8796da55ba730d06e0f6298a /tag-emacs/emacs.d/init.el | |
parent | 84b6bbad2e6fb741b8941fc932c17d00f1bf5da3 (diff) | |
download | nixfiles-a773861e0682ee3d0204560840dccf302c4cdfb8.tar.lz nixfiles-a773861e0682ee3d0204560840dccf302c4cdfb8.tar.zst nixfiles-a773861e0682ee3d0204560840dccf302c4cdfb8.zip |
Emacs: Install and configure ace-window-mode
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 28e9a183..0862130a 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)) |