junegunn / junegunn/goyo.vim

Allow carriage returns

Open
#264 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
4.7k
Forks
118
PR merge metrics
No merged PRs in 30d

Description

I use `textwidth` in my .vimrc file to impose hard carriage returns at 79 characters. However when entering Goyo with `:Goyo 79` this is lost and I get line wrapping instead. When exiting Goyo the wrapped line appears as a very long line. This doesn't make any sense to me.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior from a .vimrc with textwidth set to 79, then run :Goyo 79 and exit Goyo. Verify how hard carriage returns and wrapping change across those transitions; done means the configured hard breaks are preserved instead of becoming one long line.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.