This post covers "Highlights" from the appearance section of my init.

* Appearance
* Entering and Exiting Emacs
* Default Appearance Customizations
* Themes
* Highlights
* Hydras
* Appearance Hydra


Emacs is old school. You're either new to it - which means you wouldn't be here unless it was your type of thing - or you know what you're looking for. In either case, go to the side bar of this page and click on the 'Emacs' tag. Then read the posts y date from oldest to newest.

In the last emacs post I covered lines 914 - 1031. This post covers lines 1031 - 1110. Include the lines for anyone that wants to patch together my entire init from start to finish. The lines won't always match up because I take stuff out when I'm my init.

Highlight packages just the ones I grouped as such for simplicity. They go in an appearance hydra that I will post in a minute.

Highlight Numbers

Adds some syntax highlighting just for numbers. Use case: you have a doc with numbers everywhere and you want to see them contrasted against text.

(use-package highlight-numbers
:commands highlight-numbers-mode
);end highight numbers
; Highlight-identifiers

Rainbow Identifiers and Delimiters

Delimiters is a must use that highlights brackets with different colours. Identifiers is an alternate syntax highlighting to try out on code. I didn't use it yet.

(use-package rainbow-identifiers
:commands rainbow-identifiers-mode
);end rainbow identifiers
;Highlight Delimiters
(use-package rainbow-delimiters
:commands rainbow-delimiters-mode
(prog-mode . rainbow-delimiters-mode)
(text-mode . rainbow-delimiters-mode)
);end hook
);end rainbow-delimiters

Rainbow Mode

Highlights Hex colours in corresponding hex colour. Use it a lot.

;Show Hex Color Codes
(use-package rainbow-mode
:commands rainbow-mode
:hook (
(web-mode . rainbow-mode)
(css-mode . rainbow-mode)
);end hook
);end rainbow-mode

Syntax and Font

Defaults you need somewhere.

;Highlight Syntax
(global-font-lock-mode t)
; Highlight current line
;(global-hl-line-mode 1)
;maximum font decoration
(setq font-lock-maximum-decoration t)

Highlight Parentheses

Rainbow Identifiers maybe has this covered.

;Highlight Parenthesis
(use-package highlight-parentheses
(show-paren-mode t)
(setq show-paren-style 'mixed)
'(kept-old-versions 0)
(setq show-paren-delay 0)
);end highlight parenthesis

Indent Guides and Volatile Things

Indent guides highlights indents, good for python and all code. BVolatile things is so far whatever flagged removal.

;Highlight Indent Guides
(use-package highlight-indent-guides
:commands highlight-indent-guides-mode
;(highlight-indent-guides-auto-enabled t)
(highlight-indent-guides-responsive t)
(highlight-indent-guides-method 'character)
(prog-mode  . highlight-indent-guides-mode)
) ; end indent-guides

;Highlight Volatile Things ?
(use-package volatile-highlights
:commands volatile-highlights-mode
;(after-init . volatile-highlights-mode)
(vhl/default-face ((nil (:foreground "#FF3333" :background "#FFCDCD")))));end volatile highlites

Fill Column Indicator

Cool. I use it all the time to figure out where I am on the page.

;Highlight column edge
(use-package fill-column-indicator
:commands fill-column-indicator-mode
;to change the color
(setq fci-rule-color "#111122")
;( set fci-rule-use-dashes nil)
(setq fci-rule-width 1)
(setq fci-rule-color "darkblue")
);end fill column indicator


Cool flashy hello cursor when you jump around.

;highlight cursor when jump window/buffer
(use-package beacon
:commands beacon-mode
(beacon-mode 1)
;; only flash on window/buffer changes...
(setq beacon-blink-when-window-changes t)
(setq beacon-blink-when-window-scrolls nil)
(setq beacon-blink-when-point-moves nil)
(setq beacon-blink-duration .2)
(setq beacon-blink-delay .2)
(setq beacon-size 20)
);end beacon

That’s all for now…