Hide not matching lines after search IN file


Is there some package or some way that after a normal search in file, atom hides all lines that are not matched by the search query while we can edit only the relevant ones.


With the more flexible folding support in the newest versions of Atom, something like this could be implemented via folding I believe.