Adding documentation and formatters

This commit is contained in:
Chris Cochrun 2021-02-17 07:12:48 -06:00
parent 96ecdb6cf2
commit b51776f0d2
2 changed files with 38 additions and 36 deletions

View file

@ -243,6 +243,8 @@ This evil-collection package includes a lot of other evil based things.
#+end_src
** Completion
My completion framework is a combination of packages so that everything remains seperate and lightweight.
*** SELECTRUM
I prefer selectrum over Ivy or Helm for completions. It is using the basic completing read system and therefore it is more inline with basic emacs. Also, let's add prescient to be able to filter selectrum well. We'll add some keybindings too for easier navigation on the home row.
@ -350,9 +352,9 @@ Consult has a lot of nice functions like Ivy's Counsel functions (enhanced searc
#+end_src
*** MARGINALIA
Marginalia makes for some great decoration to our minibuffer completion items. Works great with Selectrum which does not have this out of the box.
#+begin_src emacs-lisp
;; Enable richer annotations using the Marginalia package
(use-package marginalia
:bind (:map minibuffer-local-map
("C-M-a" . marginalia-cycle)
@ -387,6 +389,7 @@ Marginalia makes for some great decoration to our minibuffer completion items. W
(use-package format-all
:config
(format-all-mode +1)
(setq format-all-formatters '("Emacs Lisp" emacs-lisp))
:defer 1)
#+end_src
** Org Mode
@ -505,7 +508,6 @@ Basic Org-Roam setup. We select the directory and the basic width of the Org-Roa
We also need to setup some capture templates to use some specific setups with my journalling. These include a space for my [[file:../../org/homework_for_life.org][Homework For Life]], tasks for the day, and how I can love on my family.
#+BEGIN_SRC emacs-lisp
(use-package org-roam
:after org
:config

View file

@ -171,7 +171,6 @@
(use-package consult
:after selectrum)
;; Enable richer annotations using the Marginalia package
(use-package marginalia
:bind (:map minibuffer-local-map
("C-M-a" . marginalia-cycle)
@ -200,6 +199,7 @@
(use-package format-all
:config
(format-all-mode +1)
(setq format-all-formatters '("Emacs Lisp" emacs-lisp))
:defer 1)
(defun chris/org-mode-setup ()