Because I often want to concentrate on a small section of code in a large script, and because my terminal window is large, I wondered if it was possible to select some text and have all other text, ie. the surrounding text, fade out in colour, or use a darker colour or something, so that when I flick away to read another tab and flick back, I don't have to manually search out the small block of code again.

I did a search on vim.org to see if anyone had already done this, but came across a tip that lead me to manually fold away the code that I don't want to see, ie. the code above, and the code below, the subject code.

Now I'm wondering if it is possible to select a block of text and issue a fold command that folds away everything BUT the selected text.

--

.

Reply via email to