Make "q" less powerful.
Is your feature request related to a problem? Please describe. I keep pressing "q" at the wrong time and finding that lnav exits. I look at very large log files, with lots of filters, so there is a significant overhead to reloading (although it is a great feature). I acknowledge this is largely a human problem, but I think the software could help. Describe the solution you'd like Either q should confirm-to-exit, or "exit" should be a different key press.
Describe alternatives you've considered Reduce the use of "q" in other areas, so there is less muscle-memory presses. However, with q being adjacent to the tab button, I think there is still opportunity for human mistakes.
Additional context
The q key is bound to the lnav-pop-view.lnav script:
https://github.com/tstack/lnav/blob/f30fe43e733b0b32a73e17e68ecec2a8d5d70d04/src/keymaps/default-keymap.json#L187-L189
So, for the moment, you can tweak things as you like. You might want to change the ;DELETE FROM lnav_view_stack WHERE rowid = $row_to_delete to add a condition like AND rowid != 0 to stop lnav from exiting. (lnav will exit when the lnav_view_stack virtual table is empty.)