preservim / vim-pencil

Rethinking Vim as a tool for writing
Other
1.57k stars 38 forks source link

How to soft wrap at 80 columns instead of the window size #64

Closed triplekiller closed 5 years ago

triplekiller commented 7 years ago

I want to use Vim's soft wrap capability (:set wrap) to wrap some code at 80 characters, regardless of my actual window width. Does vim-pencil achieve this? Thanks.

matt-snider commented 5 years ago

Hi @triplekiller,

I also expected soft wrap to behave this way. That also seems to be the case here.

Anyways, I found a good way to do this with :set columns=80. vim-goyo might also be useful.

reedes commented 5 years ago

Generally speaking, Pencil focuses on behavior rather that appearance. My other old plugin, Thematic, is where I added column support, such as to have generous margins in fullscreen mode in MacVim.