-1

Fold Away Non-Matching Lines

Eric Meyers 12 year бұрын 0
Back in my IBM 3270 mainframe days we used an editor called XEdit. It had a neat feature whereby you could hide away all lines in a file not matching a pattern or keyword.

There is something similar for Vim, called foldsearch (http://www.vim.org/scripts/script.php?script_id=2302).

I suspect some smart person could write a Sublime plugin to do this. Maybe one exists and I haven't found it yet.