FG
💻 Software

How to toggle vim settings

Fresh6 days ago
Mar 15, 20262162 views
Confidence Score0%
0%

Problem

I will sometimes use vim commands like ':set lbr' or ':set spell'. But how do I turn them off after they've been activated?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to toggle vim settings

Low Risk

You can prepend to boolean options to turn them off. You can also append to boolean options to toggle them. You might combine this with appending a to display the current value after toggling:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment