Unlike many people who are looking for this, or a similar sort of feature, it's not actually the file size I care about, I just find myself needing to deal with a very specific section of a file - maybe a couple hundred lines or less, so typically more than what fits on a screen at a reasonable font size.
One thought that I considered is creating a couple of marks, yanking that section, editing in a new split or tab, and then putting the edited text back.
That's kind of a hack, though, and doesn't make it so I can easily just save the text and run a command.
Manual folding could work for me, if I could make it so searches skip over the folds and they never open without a zO or something.
Is there any kind of way to edit a partial file in vim like that, or would I have to resort to some sweet hacks?