Compare commits

...

3 Commits

Author SHA1 Message Date
coolneng 64df13a8a1
Tweak the modeline so it fits the screen 2022-12-01 09:42:24 +01:00
coolneng e537bd9969
Reduce size of the popup terminal 2022-11-30 17:02:07 +01:00
coolneng e5785374f2
Migrate to eglot 2022-11-30 16:50:39 +01:00
2 changed files with 9 additions and 13 deletions

20
+ui.el
View File

@ -12,29 +12,23 @@
(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode)) (add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode))
;; Customize modeline ;; Customize modeline
(setq doom-modeline-major-mode-icon t (setq doom-modeline-major-mode-icon t
doom-modeline-persp-name t
doom-modeline-buffer-encoding nil) doom-modeline-buffer-encoding nil)
;; Hide direnv environment variables popup ;; Hide direnv environment variables popup
(setq direnv-always-show-summary nil) (setq direnv-always-show-summary nil)
;; Change splash-screen banner ;; Change splash-screen banner
(setq fancy-splash-image "~/.doom.d/assets/emacs.svg") (setq fancy-splash-image "~/.doom.d/assets/emacs.svg")
;; Disable LSP documentation popup ;; Remove distracting LSP UI elements
(after! lsp-ui (after! eglot
(setq lsp-ui-doc-enable nil (setq eldoc-echo-area-use-multiline-p nil)
lsp-signature-auto-activate nil (set-popup-rule! "^\\*eglot-help" :size 0.2 :quit t :select t))
lsp-enable-symbol-highlighting nil
lsp-ui-sideline-enable nil
lsp-modeline-code-actions-enable nil
lsp-headerline-breadcrumb-enable nil
lsp-len-enable nil))
;; Shrink minibuffer ;; Shrink minibuffer
(after! vertico (after! vertico
(setq vertico-count 8)) (setq vertico-count 8))
;; Eliminate gaps between windows ;; Eliminate gaps between windows
(after! frame (after! frame
(remove-hook 'doom-init-ui-hook #'window-divider-mode)) (remove-hook 'doom-init-ui-hook #'window-divider-mode))
;; Shrink terminal buffer ;; Reduce size of the popup terminal
(set-popup-rule! "^\\*vterm" :size 0.1 :vslot -4 :select t :quit nil :ttl 0) (set-popup-rule! "*doom:vterm-popup:*" :size 0.25 :vslot -4 :select t :quit nil :ttl 0)
;; Show matching parenthesis on the minibuffer ;; Show matching parenthesis on the minibuffer
(after! smartparens (show-smartparens-global-mode t)) (after! smartparens (show-smartparens-global-mode t))
;; Modify the splash screen actions ;; Modify the splash screen actions
@ -58,3 +52,5 @@
:icon (all-the-icons-octicon "book" :face 'doom-dashboard-menu-title) :icon (all-the-icons-octicon "book" :face 'doom-dashboard-menu-title)
:face (:inherit (doom-dashboard-menu-title bold)) :face (:inherit (doom-dashboard-menu-title bold))
:action =wallabag) t) :action =wallabag) t)
;; Decrease size of icons in the modeline
(setq all-the-icons-scale-factor 1.0)

View File

@ -92,7 +92,7 @@
;;gist ; interacting with github gists ;;gist ; interacting with github gists
lookup ; navigate your code and its documentation lookup ; navigate your code and its documentation
;;+docsets) ; ...or in Dash docsets locally ;;+docsets) ; ...or in Dash docsets locally
lsp ; M-x vscode (lsp +eglot) ; M-x vscode
;;macos ; MacOS-specific commands ;;macos ; MacOS-specific commands
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
make ; run make tasks from Emacs make ; run make tasks from Emacs