q is bound by default to dismiss the window, which is useful when occur is being used only to navigate occurrences and not edit them.