From 9de89b9f2c868625b63ae1eaa5ab7452db46f0c9 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 18 Jan 2024 17:04:07 +0200 Subject: emacs:(aesthetics) Reorganize --- .emacs.d/modules/thanos-aesthetics.el | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to '.emacs.d/modules/thanos-aesthetics.el') diff --git a/.emacs.d/modules/thanos-aesthetics.el b/.emacs.d/modules/thanos-aesthetics.el index 23d86a4..f5eb30f 100644 --- a/.emacs.d/modules/thanos-aesthetics.el +++ b/.emacs.d/modules/thanos-aesthetics.el @@ -161,6 +161,9 @@ (display-battery-mode 1)) ;; UI -- Vertico, consult, marginalia +(require 'vertico) +(require 'marginalia) + (vertico-mode) (savehist-mode) (define-key global-map (kbd "C-x b") 'consult-buffer) @@ -170,6 +173,7 @@ (marginalia-mode) ;; Helpful +(require 'helpful) (define-key global-map (kbd "C-h f") #'helpful-callable) (define-key global-map (kbd "C-h v") #'helpful-variable) (define-key global-map (kbd "C-h k") #'helpful-key) @@ -180,22 +184,8 @@ ;; ibuffer (global-set-key (kbd "C-x C-b") 'ibuffer) - (add-hook 'ibuffer-mode-hook 'nerd-icons-ibuffer-mode) -(require 'markdown-mode) -(setq markdown-header-scaling t) -(add-to-list 'auto-mode-alist '("\\.md\\'" . gfm-mode)) -(setq markdown-command "multimarkdown") - -(electric-pair-mode 1) -(auto-insert-mode 1) -(global-flycheck-mode) -(global-set-key (kbd "M-.") 'xref-find-definitions) -(global-set-key (kbd "C-c L") 'display-line-numbers-mode) - -;; Symbols -(add-hook 'emacs-lisp-mode-hook 'prettify-symbols-mode) (provide 'thanos-aesthetics) ;;; thanos-aesthetics.el ends here -- cgit v1.2.3