From 0e4a4ab224f3e5861ee4ed9585ac87ce636e7f2d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 26 Jun 2019 10:27:09 -0400 Subject: ace-window config --- .emacs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to '.emacs') diff --git a/.emacs b/.emacs index f26aa19..e0ee4f8 100644 --- a/.emacs +++ b/.emacs @@ -54,6 +54,29 @@ ;; (add-to-list 'latex-help-cmd-alist (cons key value)))))) ;; latex-help-cmd-alist)) +(use-package ace-window + :ensure t + :custom + ;; home row keys + (aw-keys '(?h ?t ?n ?s ?a ?o ?e ?u ?i ?d)) + :bind (("M-o" . ace-window)) + :config + ;; need to redefine a few of these because the defaults + ;; overlap with customized aw-keys + (setq aw-dispatch-alist + '((?x aw-delete-window "Delete Window") + (?m aw-swap-window "Swap Windows") + (?M aw-move-window "Move Window") + (?c aw-copy-window "Copy Window") + (?j aw-switch-buffer-in-window "Select Buffer") + (?f aw-flip-window) + (?p aw-switch-buffer-other-window "Switch Buffer Other Window") + (?c aw-split-window-fair "Split Fair Window") + (?v aw-split-window-vert "Split Vert Window") + (?b aw-split-window-horz "Split Horz Window") + (?1 delete-other-windows "Delete Other Windows") + (?? aw-show-dispatch-help)))) + (use-package auto-complete :ensure t :config -- cgit v1.2.3