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 commit characters #536

Open
MikaelElkiaer opened this issue Dec 13, 2024 · 1 comment
Open

Support commit characters #536

MikaelElkiaer opened this issue Dec 13, 2024 · 1 comment
Labels
accept Applying a completion item to the buffer backlog Likely not getting to it anytime soon feature New feature or request

Comments

@MikaelElkiaer
Copy link

MikaelElkiaer commented Dec 13, 2024

Feature Description

This is either a feature suggestion, or an inquiry on how to do this.

I was hoping for a straight-forward way to use "trigger" keys to accept selections.
Similar to what VSCode has enabled by default - though it is called "commit characters", see https://code.visualstudio.com/docs/editor/intellisense#_customizing-intellisense.

Looking at the docs and code, I was unable to find anything already implemented.
However, it seems that the "trigger" keys are something could be used as "commit" characters.

If it does not make sense to add a new default, I would like to be pointed in the right direction on how to implement this.

@MikaelElkiaer MikaelElkiaer added the feature New feature or request label Dec 13, 2024
@MikaelElkiaer MikaelElkiaer changed the title Add new keymap default: triggers Add new keymap default: triggers (or commit characters) Dec 13, 2024
@MikaelElkiaer MikaelElkiaer changed the title Add new keymap default: triggers (or commit characters) Add new keymap default: triggers (or commit-characters) Dec 13, 2024
@Saghen Saghen changed the title Add new keymap default: triggers (or commit-characters) Support commit characters Dec 13, 2024
@Saghen Saghen added the accept Applying a completion item to the buffer label Dec 13, 2024
@Saghen Saghen added the backlog Likely not getting to it anytime soon label Dec 17, 2024
@Saghen
Copy link
Owner

Saghen commented Dec 17, 2024

Waiting for neovim 0.11 to release so we can switch to using vim.on_key (#487) which makes this significantly easier to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accept Applying a completion item to the buffer backlog Likely not getting to it anytime soon feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants