-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
feature: keymap aliasing #1215
Comments
Yeah I think like #1214 this is a bit out of the scope of nixvim. |
But we could add a section Tips & Tricks to the user guide were we could add Nix snippets to do stuff like this (and maybe to simulate something like #1214) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently if you wish to have multiple keymaps that do the same thing, you must either duplicate your definition for each alias or
map
a list of alias strings into a list of keymap attribute sets.It may be handy to provide an
aliases
option acceptingnull
,str
orlistOf str
. If used, the keymap will be created forkey
as well as eachalias
.If this is considered unnecessary feature bloat, perhaps document an example somewhere (README, Wiki, or docs) demonstrating how
map
can be used to produce duplicate keymaps?The text was updated successfully, but these errors were encountered: