FG

In Emacs, how can I set the cursor-type globally?

Fresh3 days ago
Mar 15, 20262987 views
Confidence Score0%
0%

Problem

It's possible to modify the style of the cursor by setting the value of the window local variable cursor-type. How can I make all existing and future windows use the same cursor-type?

Error Output

(setq cursor-type '(hbar . 1))

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: In Emacs, how can I set the cursor-type globally?

Low Risk

sets the default value of a variable:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment