You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature request] set wrap, set nowrap, set wrap? #1084
Thanks for the request! In 2.87.0, with Vim mode on:
:set nowrap lets long lines run off to the right and scroll
:set wrap wraps them again
:set wrap! flips it
:set wrap? says wrap or nowrap, the way Vim does
They drive the same preference as Settings, Editor, Word wrap, the palette's Toggle Word Wrap and Alt+Z (Option+Z on a Mac), so all of them and [editor].word_wrap in config.toml always agree.
About the text not wrapping after the 2.86.0 update: nothing in 2.85.0 or 2.86.0 changed the wrap setting or its default (still on). The usual way it turns off without you noticing is Option+Z, which toggles wrap with no message. On a Mac it fires on the key in the US Z position, which is the key labelled Y on a Czech QWERTZ layout. A config.toml with word_wrap = false (for example one synced from another machine) would do it too.
Activity
Feat(vim): :set wrap, :set nowrap and :set wrap? drive Word wrap (#1084)
adibhanna commentedon Nov 18, 2026
Thanks for the request! In 2.87.0, with Vim mode on:
:set nowraplets long lines run off to the right and scroll:set wrapwraps them again:set wrap!flips it:set wrap?sayswrapornowrap, the way Vim doesThey drive the same preference as Settings, Editor, Word wrap, the palette's Toggle Word Wrap and Alt+Z (Option+Z on a Mac), so all of them and
[editor].word_wrapin config.toml always agree.About the text not wrapping after the 2.86.0 update: nothing in 2.85.0 or 2.86.0 changed the wrap setting or its default (still on). The usual way it turns off without you noticing is Option+Z, which toggles wrap with no message. On a Mac it fires on the key in the US Z position, which is the key labelled Y on a Czech QWERTZ layout. A config.toml with
word_wrap = false(for example one synced from another machine) would do it too.Commit: 394d060