Skip to content

Feature Request: Word wrap / soft wrap in diff view and Markdown source view #9017

@0okay

Description

@0okay

Describe the solution you'd like?

Please add a word wrap / soft wrap option for the following two views:

1. Code diff view

When reviewing git diff output or diffs in Warp's built-in file viewer, long lines extend beyond the viewport and require horizontal scrolling. Soft wrap would make reviewing diffs directly in Warp feasible without having to open a separate IDE.

2. Markdown source view (raw/source mode)

When viewing a .md file in source/raw mode (not the rendered preview), long lines also require horizontal scrolling. Word wrap in source view would allow inline review of markdown files comfortably.

Ideally, the preference should be:

  • Persistent across sessions (saved in settings), OR
  • Togglable via keyboard shortcut (e.g. Alt+Z, similar to VS Code)

Describe alternatives you've considered

Currently the only options are:

  1. Scroll horizontally — very uncomfortable for long lines
  2. Open the file in an external editor/IDE — breaks the terminal workflow

Additional context

Related (but different) issues:

Neither of the above covers the diff view or Markdown source/raw view use cases.

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