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

Different shortcuts for single-line or multi-line suggestions #201

Open
KizzyCode opened this issue Apr 6, 2024 · 2 comments
Open

Different shortcuts for single-line or multi-line suggestions #201

KizzyCode opened this issue Apr 6, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@KizzyCode
Copy link

Is your feature request related to a problem? Please describe.
Usually I only want a single-line-suggestion (in most contexts it works better); but then sometimes I want a multiline suggestion (I have developed a gut-feeling for where it works and then it's really useful).

Describe the solution you'd like
Allow different shortcuts for different types of suggestions (e.g. single line for the normal-inline-suggestion shortcut), medium amount of lines (configurable) for custom shortcut b, large amount of lines for custom shortcut c.

Describe alternatives you've considered
None to be honest since the problem is that the multiline-suggestions are unreliable, so an automatism is most-likely also unreliable. Mode-switching via shortcut could be a possibility; but this requires the user to keep track of the current state in their mind which seems less comfortable.

@rjmacarthy
Copy link
Owner

Hey, do you have any suggestions for the shortcuts?

@KizzyCode
Copy link
Author

KizzyCode commented Apr 7, 2024

I think thats very opinionated; and it might be reasonable to not add a default shortcut (if someone wants to enable this feature, they have to provide a shortcut themselves)?

However, speaking only for myself: I use " /" for normal inline completion, so " / chord to /" would feel natural (i.e. press "option + /" and then press "/" again).

IIRC, the default is " \", so maybe " \ chord to \"?

@rjmacarthy rjmacarthy added the enhancement New feature or request label Apr 17, 2024
@rjmacarthy rjmacarthy added help wanted Extra attention is needed good first issue Good for newcomers labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants