2020-01-06 10:20:20 +01:00
|
|
|
;;; ~/.doom.d/+ui.el -*- lexical-binding: t; -*-
|
|
|
|
;; Appearance settings
|
|
|
|
;; Set Font and theme
|
2021-01-19 01:44:10 +01:00
|
|
|
(setq doom-font (font-spec :family "Iosevka Medium" :size 26)
|
2020-01-06 10:20:20 +01:00
|
|
|
doom-theme 'doom-nord)
|
|
|
|
;; Display Magit status in fullscreen
|
|
|
|
(after! magit
|
|
|
|
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1))
|
|
|
|
;; Match pdf-tools colors to the theme
|
|
|
|
(after! pdf-tools
|
|
|
|
(setq pdf-view-midnight-colors '("#ECEFF4" . "#2E3440"))
|
|
|
|
(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode))
|
|
|
|
;; Customize modeline
|
|
|
|
(setq doom-modeline-major-mode-icon t
|
|
|
|
doom-modeline-persp-name t
|
|
|
|
doom-modeline-buffer-encoding nil)
|
2021-12-07 11:06:27 +01:00
|
|
|
;; HACK Emacs 29 modeline font workaround
|
|
|
|
(set-face-attribute 'mode-line nil :family "Iosevka Medium" :height 190)
|
|
|
|
(set-face-attribute 'mode-line-inactive nil :family "Iosevka Medium" :height 190)
|
2020-05-24 08:15:14 +02:00
|
|
|
;; Hide direnv environment variables popup
|
|
|
|
(setq direnv-always-show-summary nil)
|
2021-02-11 00:01:30 +01:00
|
|
|
;; Change splash-screen banner
|
|
|
|
(setq fancy-splash-image "~/.doom.d/assets/emacs.svg")
|
2020-07-01 18:55:30 +02:00
|
|
|
;; Disable LSP documentation popup
|
2020-09-22 03:00:41 +02:00
|
|
|
(after! lsp-ui
|
2020-07-01 18:55:30 +02:00
|
|
|
(setq lsp-ui-doc-enable nil
|
2020-10-13 03:18:31 +02:00
|
|
|
lsp-signature-auto-activate nil
|
2020-10-25 18:44:18 +01:00
|
|
|
lsp-enable-symbol-highlighting nil
|
2020-11-09 11:58:12 +01:00
|
|
|
lsp-ui-sideline-show-code-actions nil
|
|
|
|
lsp-modeline-code-actions-enable nil))
|
2020-07-01 18:55:20 +02:00
|
|
|
;; Shrink minibuffer
|
2021-07-31 14:39:27 +02:00
|
|
|
(after! vertico
|
2021-07-31 20:56:24 +02:00
|
|
|
(setq vertico-count 8))
|
2020-09-06 16:58:29 +02:00
|
|
|
;; Eliminate gaps between windows
|
|
|
|
(after! frame
|
|
|
|
(remove-hook 'doom-init-ui-hook #'window-divider-mode))
|
2021-01-07 00:59:01 +01:00
|
|
|
;; Disable lsp header line
|
|
|
|
(after! lsp-mode
|
|
|
|
(setq lsp-headerline-breadcrumb-enable nil))
|
2021-02-03 02:37:30 +01:00
|
|
|
;; Shrink terminal buffer
|
2021-06-24 12:24:29 +02:00
|
|
|
(set-popup-rule! "^\\*vterm" :size 0.1 :vslot -4 :select t :quit nil :ttl 0)
|