Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

4 Answers 4

up vote 5 down vote accepted

You can prepend no to boolean options to turn them off.

:set nolbr

You can also append ! to boolean options to toggle them.

:set lbr!

You might combine this with appending a ? to display the current value after toggling:

:set lbr! lbr?
share|improve this answer
Great, thank you. – zedwarth Jan 30 '11 at 3:07
Great suggestion for displaying the current value after toggling... – Neg_EV Feb 8 '11 at 17:29


:set nolbr


:set nospell


share|improve this answer


:set no lbr


:set no spell

share|improve this answer
It returns E518: Unknown option: no – zedwarth Jan 30 '11 at 2:48

Do them as one word,

:set nolbr

and :set nospell.

You can also toggle with an exclamation point:

:set lbr!

will turn it on if it's off, and off it's on.

See :help :set for even more options.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.