diff --git a/config.org b/config.org index a33ab6c..63e8539 100644 --- a/config.org +++ b/config.org @@ -178,20 +178,38 @@ Install and set the modeline, ensuring that it is always installed: *** All The Icons All The Icons is a package to display cool icons within Emacs. Install the package, enable it and ensure that it always is installed: -#+BEGIN_SRC emacs-lisp ++BEGIN_SRC emacs-lisp (use-package all-the-icons :ensure t) + (setq inhibit-compacting-font-caches t) ; Don’t compact font caches during GC. Fixes lag on doom modeline ++END_SRC + +All The Icons Support for Ivy/Counsel. Which are autocompletion tools in emacs +Install the package, enable it and ensure that it always is installed: ++BEGIN_SRC emacs-lisp + (use-package all-the-icons-ivy + :ensure t + :init + (all-the-icons-ivy-setup)) ++END_SRC +*** Nerd Fonts +Alternative to All The Icons, provides unified experience in TTY and GUI. +Install the package, enable it and ensure that it always is installed: +#+BEGIN_SRC emacs-lisp + (use-package nerd-icons + :ensure t) + (setq inhibit-compacting-font-caches t) ; Don’t compact font caches during GC. Fixes lag on doom modeline #+END_SRC -All The Icons Support for Ivy/Counsel. Which are autocompletion tools in emacs +Nerd Icons support for the ivy rich plugin. Install the package, enable it and ensure that it always is installed: #+BEGIN_SRC emacs-lisp - (use-package all-the-icons-ivy + (use-package nerd-icons-ivy-rich :ensure t :init - (all-the-icons-ivy-setup)) + (nerd-icons-ivy-rich-mode 1)) #+END_SRC *** Emacs Dashboard A startup dashboard for Emacs, replacing the boring old one. @@ -253,10 +271,10 @@ Install the package, enable it and ensure that it always is installed: ;; Format: "(icon title help action face prefix suffix)" (setq dashboard-navigator-buttons `(;; line1 - ((,(all-the-icons-octicon "mark-github" :height 1.1 :v-adjust 0.0) + ((,;; (all-the-icons-octicon "mark-github" :height 1.1 :v-adjust 0.0) "Homepage" "Browse homepage" - (lambda (&rest _) (browse-url "https://gitlab.com/bloxiebird/linux-emacs-configuration"))) + (lambda (&rest _) (browse-url "https://git.cspark.dev/emacs-configuration"))) ("★" "Star" "Show stars" (lambda (&rest _) (show-stars)) warning) ("?" "" "?/h" #'show-help nil "<" ">")) )) @@ -556,12 +574,12 @@ Install the package, enable it and ensure that it always is installed, and then Ivy is an autocompletion framework, it will automatically fuzzy find search words for you. This includes file managing, searching, and more via its extensibility and the Counsel package. Install the package, enable it and ensure that it always is installed, and then make sure that ivy-mode is enabled by default: #+BEGIN_SRC emacs-lisp - (use-package ivy - :ensure t - :init - (ivy-mode 1) - :bind - ("C-s" . swiper)) + (use-package ivy + :ensure t + :init + (ivy-mode 1) + :bind + ("C-s" . swiper)) #+END_SRC Ivy Configuration @@ -570,6 +588,17 @@ Set an option to make Ivy show previously opened/edited buffers in the buffer se (setq ivy-use-virtual-buffers t) ;(setq enable-recursive-minibuffers t) #+END_SRC + +This package comes with rich transformers for commands from ivy and counsel. +Install the package, enable it and ensure that it always is installed, and then make sure that ivy-rich-mode is enabled by default: +#+BEGIN_SRC emacs-lisp + (use-package ivy-rich + :ensure t + :init + (ivy-rich-mode 1) + + (setcdr (assq t ivy-format-functions-alist) #'ivy-format-function-line)) +#+END_SRC *** Counsel A collection of Ivy-enhanced versions of common Emacs commands. Install the package, enable it and ensure that it always is installed: