Emacs: High Light Current Line

By Xah Lee. Date: .
emacs hl-line-mode screenshot 2015-08-12
emacs global-hl-line-mode

Alt+x hl-line-mode to toggle on/off for current buffer.

Alt+x global-hl-line-mode to toggle globally.

Turn on by Default

Put this in your emacs init file:

;; highlight current line
(global-hl-line-mode 1)

If you have a question, put $5 at patreon and message me.
Or Buy Xah Emacs Tutorial
Or buy JavaScript in Depth

Emacs Tutorial

Emacs Init

Emacs Keys

ELisp

ELisp Examples

ELisp Write Major Mode


Emacs Init

Init Basics

packages

text editing

file

appearance

misc