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

Support <c-w> proxy to <leader>w? #4

Open
luqasn opened this issue Feb 3, 2025 · 0 comments
Open

Support <c-w> proxy to <leader>w? #4

luqasn opened this issue Feb 3, 2025 · 0 comments

Comments

@luqasn
Copy link

luqasn commented Feb 3, 2025

I just learned that which-key has a proxy feature that LazyVim uses to "alias" ctrl+w to w (window management).
See here: https://github.com/LazyVim/LazyVim/blob/fb256f2b688cb7ac9875f704fe6c00f27efc2354/lua/lazyvim/plugins/editor.lua#L210
https://github.com/folke/which-key.nvim/blob/0e76a87ac51772569aec678dc74baa8e2a86100c/README.md?plain=1#L274
It is slightly weird in that it seems it is not a 100% alias, at least in my neovim <leader>w allows to switch to open windows via their index, while CTRL+w does not.

Does someone have an idea what's up with that? Anyways, we probably wanna support the alias too, right?

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

1 participant