chrisbra / NrrwRgn

A Narrow Region Plugin for vim (like Emacs Narrow Region)
http://www.vim.org/scripts/script.php?script_id=3075
675 stars 25 forks source link

Possible to set "narrow buffer" settings? #58

Closed lf94 closed 7 years ago

lf94 commented 7 years ago

For example, I would like all "narrow buffers" to have text wrapping.

My workflow is:

Regular edit buffers have :set nowrap, so extremely long lines don't hurt UI performance. If I want to edit a long line, I nr to open it in a "narrow buffer", but I want it wrapped there. If possible actually, I would like to run a command of some sort to cut it up for editing. When closing, it will reassemble the string and insert it back. Why cut the string up? For UI performance again.

chrisbra commented 7 years ago

Have a look at :H NR-hoks