Update comments

This commit is contained in:
Henrik Lissner 2021-01-11 02:41:14 -05:00
parent 1235ea74cf
commit 8c258c272d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 7 deletions

View file

@ -46,6 +46,8 @@ and Emacs states, and for non-evil users.")
(not (cl-position 'tab keys))
(not (cl-position 'kp-tab keys))
(display-graphic-p)
;; Fall back if no <C-i> keybind can be found, otherwise
;; we've broken all pre-existing C-i keybinds.
(let ((key
(doom-lookup-key
(vconcat (cl-subseq keys 0 -1) [C-i]))))

View file

@ -289,17 +289,16 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
;; where we resize windows too quickly.
(setq window-resize-pixelwise nil)
;; We do this in early-init.el too, but in case the user is on Emacs 26 we do it
;; here too: disable tool and scrollbars, as Doom encourages keyboard-centric
;; workflows, so these are just clutter (the scrollbar also impacts
;; performance).
;; Disable tool, menu, and scrollbars. Doom is designed to be keyboard-centric,
;; so these are just clutter (the scrollbar also impacts performance). Whats
;; more, the menu bar exposes functionality that Doom doesn't endorse.
(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)
;; These are disabled directly through their frame parameters, to avoid the
;; extra work their minor modes do, but we have to unset these variables
;; ourselves, otherwise users will have to cycle them twice to re-enable them.
;; These are disabled directly through their frame parameters to avoid the extra
;; work their minor modes do, but their variables must be unset too, otherwise
;; users will have to cycle them twice to re-enable them.
(setq menu-bar-mode nil
tool-bar-mode nil
scroll-bar-mode nil)