0

is it possible to set nowrap to a line range in the active buffer and set wrap to everything else?

I edit LaTeX files. I want to see everything after \begin{document}. but only see the general structure of the preamble.

I want this:

 Vim Window __________________________ || \documentclass[a4paper,||21pt]{article} > preamble || \usepackage[style=autho||ryear]{biblatex} } || \title{Vim is Awesome} || } || \renewcommand{\baseline||strech}{1.3} } set nowrap || \author{Noah Kuttler} || } || || } || \begin{document} || > \begin{document} || Soluta cum aut cupidi|| ] ||tate velit. Dolor cup sulu|| ] ||iditate voluptates r dlum || ] ||pudiandae non beatae gara || ] ||et hic consectetur. lastem|| ] set wrap ||olestiae et dignissi pero || ] ||os magnam quia quise. || ] || \end{document} || ] || || ] ||__________________________|| 
3
  • 2
    I don't think there's any way to do this, and working around it with separate windows and whatnot might prove hard and cludgy. Commented Jun 1, 2020 at 7:45
  • Welcome to Vi and Vim! Commented Jun 1, 2020 at 11:13
  • Hi @D.BenKnoble so glad to be here! Commented Jun 1, 2020 at 18:11

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.