diff options
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/Cask | 1 | ||||
-rw-r--r-- | tag-emacs/emacs.d/init.el | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index 580361d..9f03ef1 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -4,6 +4,7 @@ (source melpa-stable) (source org) +(depends-on "ace-window") (depends-on "avy") (depends-on "ag") (depends-on "async") 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)) |