-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Language specific keymaps #4501
Comments
Is this useful for keymaps other than binding |
I can think of other use cases like shortcuts for common things specific to languages (adding pipelines to langs like elm/elixir. creating lambdas. anything that gets boring, could use movements based on treesitter, etc) Also, even snippets using sh can be quite different between languages and it would be better to make these work without setting up just/make files - just ny own opinion but I rather not change projects just for my editor needs. |
Another use case is that I need sometimes to do full rebuilds on Haskell and Purescript. On Haskell I'm sending a command to a running ghci instance (so I'm using a I have the two commands bound to different keys, but I'd obviously like them to be on the same one. |
This would work great for me as well because my Godot C# projects differ a bit from my standard C# projects. While Editor configuration merging would fix this for me, but this solution would work just as well because language config merging is already implemented. |
This feature would be very helpful for me. To give one more use-case: |
Isn't this a dupe of #836? Also, how would this work with multi-lang files/selections (e.g. vue, svelte)? |
Ah yeah I agree, #836 is more general and should cover this. I think that's probably how this should be solved in the future: language specific config of any sort rather than just keybindings. |
It would be useful to be able to add to one of the config files (config.toml or languages.toml?) a language specific keymap that overrides the standard commands.
For example it could be something like this:
config.toml
languages.toml
The text was updated successfully, but these errors were encountered: