fix(init): Initialise ace-window-display-mode on launch
This commit is contained in:
parent
4a53a084a5
commit
bdff24f52b
1 changed files with 7 additions and 4 deletions
11
init.el
11
init.el
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue