Skip to content

Doesn’t handle super long lines well #153

@blmatthews

Description

@blmatthews

I’m editing JSON files that have embedded base64-encoded PDFs, so lines that are 10s or 100s of thousands of characters long (wrapped on the screen). If I search for something that’s a few lines after one of the long lines, a part of the long line fills the screen below the context lines and the cursor’s left in the middle of it. If I move down with ’j’, eventually the cursor gets put at the top of screen right below the context lines and no amount of ’j’ing gets me past the long line, and editing edits the long line, even though I should be past some text below the long line.

Sometimes I can ^F far enough so the long line scrolls off the top then context works well. But if I stray up to where any of the long line would be displayed, odd things start happening again.

I can usually scroll around enough to workaround it, or worst case turn off context, so it’s not a huge deal, but it can be kind of annoying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions