Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent q from quitting lnav #1316

Open
gerases opened this issue Sep 29, 2024 · 2 comments
Open

Prevent q from quitting lnav #1316

gerases opened this issue Sep 29, 2024 · 2 comments
Labels
enhancement Feature Request

Comments

@gerases
Copy link

gerases commented Sep 29, 2024

Hi,

is it possible to prevent q from quitting lnav altogether. I keep doing it for some reason. Same about carl-c. Maybe a confirmation before quitting? Sorry if this has been asked before. Haven’t been able to find a solution for this for a long time. Otherwise, I love lnav. Thank you much.

@gerases gerases added the enhancement Feature Request label Sep 29, 2024
@tstack
Copy link
Owner

tstack commented Oct 1, 2024

The key binding for q is defined here:

"x71": {
"command": "|lnav-pop-view ${keyseq}"
},

You can rebind with a command like the following:

:config /ui/keymap-defs/default/x71/command :echo Press Shift-Q to quit

@takeda
Copy link

takeda commented Oct 12, 2024

To me the issue with q quitting is that, it is the same key to close the overlay windows. I don't see any indication how many are left so might frequently quit one too many.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature Request
Projects
None yet
Development

No branches or pull requests

3 participants