I have set nowrap in my vim config file but there's one place where I need line wrapping: the scratch buffer (because the text that shows up there usually doesn't stick to 80 columns). Is there a way to enable line wrapping for the scratch buffer but not other buffers?
Asked
Active
Viewed 181 times
0
Andrew
- 266
1 Answers
0
The question is about vim's command-line (also known as the colon line). That does not wrap.
However, vim documents a special command-line window, for entering complex commands, which helps a little.
If you edit the command-line window, you can set its wrap mode separately from the other windows, using the local setl option e.g.,
:setl wrap
Thomas Dickey
- 9,100