(Emacs)~text and code changes
Just cleaned up some links and descriptions that didn't really make sense. Also added some defers and cleaned up some hooks.
This commit is contained in:
@@ -1017,6 +1017,7 @@ it's useful for presentations.
|
||||
Hl-line is a
|
||||
#+begin_src emacs-lisp
|
||||
(use-package hl-line
|
||||
:defer t
|
||||
:hook (text-mode-hook . hl-line-mode))
|
||||
#+end_src
|
||||
** Recentf
|
||||
@@ -1032,13 +1033,11 @@ the projectile command map for quick access.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package projectile
|
||||
:after evil
|
||||
:hook (prog-mode-hook . projectile-mode)
|
||||
:hook (emacs-startup-hook . projectile-mode)
|
||||
:general
|
||||
(leader "p" #'projectile-command-map)
|
||||
:init
|
||||
(setq projectile-tags-command "ctags -Re -f \"%s\" %s \"%s\"")
|
||||
:config
|
||||
(projectile-mode))
|
||||
(setq projectile-tags-command "ctags -Re -f \"%s\" %s \"%s\""))
|
||||
#+end_src
|
||||
*** Counsel projectile
|
||||
Counsel projectile provides the ivy interface to projectile commands, which is really useful.
|
||||
@@ -1160,6 +1159,7 @@ most repositories nowadays.
|
||||
*** rg
|
||||
#+begin_src emacs-lisp
|
||||
(use-package rg
|
||||
:defer t
|
||||
:commands (+rg/search-in-new-frame)
|
||||
:general
|
||||
(leader
|
||||
@@ -1200,7 +1200,7 @@ initial startup screen in default Emacs.
|
||||
"q" (proc (interactive) (kill-this-buffer)))
|
||||
:init
|
||||
(setq dashboard-banner-logo-title "Oreomacs"
|
||||
dashboard-center-content nil
|
||||
dashboard-center-content t
|
||||
dashboard-set-init-info t
|
||||
dashboard-startup-banner (no-littering-expand-etc-file-name "dashboard/logo.png")
|
||||
dashboard-set-footer t
|
||||
@@ -1913,11 +1913,10 @@ highlighting.
|
||||
("WAIT" . "#00CC00"))))
|
||||
#+end_src
|
||||
** PDF
|
||||
PDFs are a great format for (somewhat) immutable text and reports with
|
||||
great formatting options. Though Emacs isn't really the premier
|
||||
solution for viewing PDFs (I highly recommend [[https://pwmt.org/projects/zathura/][Zathura]]), similar to
|
||||
most things with Emacs, having a PDF viewer builtin can be a very
|
||||
useful asset.
|
||||
PDFs are a format for (somewhat) immutable text and reports with great
|
||||
formatting options. Though Emacs isn't my favourite application for
|
||||
viewing PDFs (I highly recommend [[https://pwmt.org/projects/zathura/][Zathura]]), similar to most things with
|
||||
Emacs, having a PDF viewer builtin can be a very useful asset.
|
||||
|
||||
For example if I were editing an org document which I was eventually
|
||||
compiling into a PDF, my workflow would be much smoother with a PDF
|
||||
@@ -1962,9 +1961,9 @@ use the current buffer?) but it works out.
|
||||
(setq sql-display-sqli-buffer-function nil))
|
||||
#+end_src
|
||||
** Ada
|
||||
Check out [[file:ada-mode.el][ada-mode*]], my custom ada-mode that replaces the default one.
|
||||
This mode just colourises stuff, and uses eglot to do the heavy
|
||||
lifting.
|
||||
Check out [[file:elisp/ada-mode.el][ada-mode*]], my custom ada-mode that replaces the default one.
|
||||
This mode just colourises stuff, and uses eglot to do the important
|
||||
stuff.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(load-file (concat user-emacs-directory "elisp/ada-mode.el"))
|
||||
@@ -2042,8 +2041,7 @@ Tons of variables for org-mode, including a ton of latex ones.
|
||||
)))
|
||||
#+end_src
|
||||
*** Org Core Configuration
|
||||
Hooks, prettify-symbols and my =+org/swiper-goto= to replace the
|
||||
vanilla =org-goto=. Also records for auto insertion.
|
||||
Hooks, prettify-symbols and records for auto insertion.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package org
|
||||
:hook
|
||||
|
||||
Reference in New Issue
Block a user