preservim / vim-pencil

Rethinking Vim as a tool for writing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

triplekiller opened this issue · comments

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.

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.

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.