Switch to nerd fonts, update git url

This commit is contained in:
Curt Spark 2024-03-15 15:18:50 +00:00
parent 9f33bdecfa
commit 5652263bef
1 changed files with 41 additions and 12 deletions

View File

@ -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) ; Dont 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) ; Dont 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 "<" ">"))
))
@ -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: