Minor refactors & reformatting

This commit is contained in:
Henrik Lissner 2020-11-03 16:16:12 -05:00
parent 9f261788b9
commit 86722ee67e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 32 additions and 29 deletions

View file

@ -172,7 +172,9 @@ windows (unlike `doom/window-maximize-buffer'). Activate again to undo."
(let* ((window (selected-window))
(dedicated-p (window-dedicated-p window))
(preserved-p (window-parameter window 'window-preserved-size))
(ignore-window-parameters t))
(ignore-window-parameters t)
(window-resize-pixelwise nil)
(frame-resize-pixelwise nil))
(unwind-protect
(progn
(when dedicated-p

View file

@ -26,11 +26,13 @@ and Emacs states, and for non-evil users.")
;;
;;; Keybind settings
(cond (IS-MAC
(cond
(IS-MAC
(setq mac-command-modifier 'super
ns-command-modifier 'super
mac-option-modifier 'meta
ns-option-modifier 'meta
;; Free up the right option for character composition
mac-right-option-modifier 'none
ns-right-option-modifier 'none))
(IS-WINDOWS
@ -197,7 +199,6 @@ localleader prefix."
(defun doom-reset-which-key-replacements-h ()
(setq which-key-replacement-alist doom--initial-which-key-replacement-alist)))
;; general improvements to which-key readability
(set-face-attribute 'which-key-local-map-description-face nil :weight 'bold)
(which-key-setup-side-window-bottom)
(setq-hook! 'which-key-init-buffer-hook line-spacing 3)