Update comments
This commit is contained in:
parent
1235ea74cf
commit
8c258c272d
2 changed files with 8 additions and 7 deletions
|
@ -46,6 +46,8 @@ and Emacs states, and for non-evil users.")
|
||||||
(not (cl-position 'tab keys))
|
(not (cl-position 'tab keys))
|
||||||
(not (cl-position 'kp-tab keys))
|
(not (cl-position 'kp-tab keys))
|
||||||
(display-graphic-p)
|
(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
|
(let ((key
|
||||||
(doom-lookup-key
|
(doom-lookup-key
|
||||||
(vconcat (cl-subseq keys 0 -1) [C-i]))))
|
(vconcat (cl-subseq keys 0 -1) [C-i]))))
|
||||||
|
|
|
@ -289,17 +289,16 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
||||||
;; where we resize windows too quickly.
|
;; where we resize windows too quickly.
|
||||||
(setq window-resize-pixelwise nil)
|
(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
|
;; Disable tool, menu, and scrollbars. Doom is designed to be keyboard-centric,
|
||||||
;; here too: disable tool and scrollbars, as Doom encourages keyboard-centric
|
;; so these are just clutter (the scrollbar also impacts performance). Whats
|
||||||
;; workflows, so these are just clutter (the scrollbar also impacts
|
;; more, the menu bar exposes functionality that Doom doesn't endorse.
|
||||||
;; performance).
|
|
||||||
(push '(menu-bar-lines . 0) default-frame-alist)
|
(push '(menu-bar-lines . 0) default-frame-alist)
|
||||||
(push '(tool-bar-lines . 0) default-frame-alist)
|
(push '(tool-bar-lines . 0) default-frame-alist)
|
||||||
(push '(vertical-scroll-bars) default-frame-alist)
|
(push '(vertical-scroll-bars) default-frame-alist)
|
||||||
|
|
||||||
;; These are disabled directly through their frame parameters, to avoid the
|
;; These are disabled directly through their frame parameters to avoid the extra
|
||||||
;; extra work their minor modes do, but we have to unset these variables
|
;; work their minor modes do, but their variables must be unset too, otherwise
|
||||||
;; ourselves, otherwise users will have to cycle them twice to re-enable them.
|
;; users will have to cycle them twice to re-enable them.
|
||||||
(setq menu-bar-mode nil
|
(setq menu-bar-mode nil
|
||||||
tool-bar-mode nil
|
tool-bar-mode nil
|
||||||
scroll-bar-mode nil)
|
scroll-bar-mode nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue