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

Rebind q for quit Yazi #579

Open
nach00 opened this issue Nov 22, 2024 · 1 comment
Open

Rebind q for quit Yazi #579

nach00 opened this issue Nov 22, 2024 · 1 comment

Comments

@nach00
Copy link

nach00 commented Nov 22, 2024

I'm trying to rebind q to quit Yazi to something else, but don't see that keymap in the documentation. I tried going through the repo but only found this:

// close yazi
cy.typeIntoTerminal("q")

but that didn't work. Please advise.

@mikavilpas
Copy link
Owner

Hi, that snippet is from the integration test suite - it uses the default yazi keybinding for closing.

Yazi.nvim does not actually have a special key for closing yazi - you should create the keybinding in yazi's configuration instead. Please see https://yazi-rs.github.io/docs/configuration/keymap for general information on how to configure yazi. You can also look at my own (personal) configuration that has the specific keymap at https://github.com/mikavilpas/dotfiles/blob/main/.config/yazi/keymap.toml#L26

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

No branches or pull requests

2 participants