Skip to content
New issue

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

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

Already on GitHub? # to your account

Keymaps #205

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Keymaps #205

wants to merge 5 commits into from

Conversation

james2doyle
Copy link

No description provided.

@deathaxe
Copy link

Bindings like that are likely to cause ambiguities and should stay private or special purpose.

A related issue was raised for Twig caused by such binding.

see: Sublime-Instincts/BetterTwig#33

@james2doyle
Copy link
Author

I was actually inspired to add this because of the binding in the official JavaScript packages that automatically adds ${} around a selection after pressing $ while inside string templates: https://github.com/sublimehq/Packages/blob/master/JavaScript/Default.sublime-keymap#L65-L71

I think this is "special purpose" but maybe there is a better scope for this to apply to instead?

image

Maybe something that targets values inside meta values or something

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

Successfully merging this pull request may close these issues.

2 participants