Skip to content

[feature request] set wrap, set nowrap, set wrap? #1084

Closed

Description

@vlcinsky
ZenNotes 2.86.0 (desktop)
OS: macOS 27.2.1, arm64
Engine: Electron 41.10.7 (Chromium 146.0.7680.216, Node 24.18.0)
Install: macOS app bundle

After ugrade to this version I was surprised by my text not wrapping. Then I found it can be enabled in settings. Good.

It would be nice to support commands like:

  • set wrap: enable text wrap
  • set nowrap: disable text wrap
  • set wrap?: report current status of wrapping

Activity

  1. adibhanna commented on Nov 18, 2026

    @adibhanna
    Contributor

    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.

    Commit: 394d060

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions