--
.
Well, what we already have is folding; you could also harness the
CursorMoved,CursorMovedI events to wrap or unwrap the whole file
depending on what you need at the moment; or else, use
:map <F8> :set wrap!<CR>
:imap <F8> <C-O>:set wrap!<CR>
to toggle it by a single keystroke.
Best regards,
Tony.
--
In Blythe, California, a city ordinance declares that a person must own
at least two cows before he can wear cowboy boots in public.