fix(init): Initialise ace-window-display-mode on launch

This commit is contained in:
Vincent Ambo 2018-11-13 15:35:37 +01:00 committed by Vincent Ambo
parent 4a53a084a5
commit bdff24f52b

11
init.el
View file

@ -23,10 +23,8 @@
(use-package ace-window (use-package ace-window
:bind (("C-x o" . ace-window)) :bind (("C-x o" . ace-window))
:init :init
(progn (setq aw-keys '(?f ?j ?d ?k ?s ?l ?a) (setq aw-keys '(?f ?j ?d ?k ?s ?l ?a)
aw-scope 'frame) aw-scope 'frame))
;; Show previews of ace-window numbers in the mode line for each window.
(ace-window-display-mode)))
(use-package adjust-parens :hook ((lisp-mode . adjust-parens-mode) (use-package adjust-parens :hook ((lisp-mode . adjust-parens-mode)
(emacs-lisp-mode . adjust-parens-mode))) (emacs-lisp-mode . adjust-parens-mode)))
@ -163,6 +161,11 @@
;;(add-to-list 'company-backends 'sly-company) ;;(add-to-list 'company-backends 'sly-company)
)) ))
;; Show previews of ace-window numbers in the mode line for each
;; window. Initialising this in the package configuration does not
;; work.
(ace-window-display-mode)
;; Some packages can only be initialised after the rest of the ;; Some packages can only be initialised after the rest of the
;; settings has been applied: ;; settings has been applied: