emacs init: Highlight Current Line

By Xah Lee. Date: . Last updated: .
emacs hl-line-mode 2021-08-27
emacs global-hl-line-mode 2021-08-27

Turn on by Default

Put this in your Emacs Init File:

(global-hl-line-mode 1)

Make Highlight Line Always Show in All Buffers

;; global-hl-line-mode
(setq global-hl-line-sticky-flag t)