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

How do I setup so that keyboard types replace placeholder text in snippets? #682

Open
comiluv opened this issue Feb 3, 2025 · 0 comments

Comments

@comiluv
Copy link

comiluv commented Feb 3, 2025

First I hope this is the right place to post questions/feature requests.
I want to setup coq_nvim so that when the cursor is at the placeholder text in snippets, sequential keyboard typing would replace the placeholder text.
Below is an example screenshot.

coq_nvim_capture.mp4

in the main() function, I type std::vec and it brings up the pop up menu.
I then type <C-n> and <C-y> and then continue to type std::string.
But as I type std::string, the placeholder text, in this case class Ty is not replaced by the typing.

I would like to setup coq_nvim so that when I type when the cursor is on the placeholder text and with the placeholder text highlighted, the placeholder text to be replaced (deleted).
If this functionality is not implemented, I'd like to make a feature request.
Thanks for reading the issue.

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

No branches or pull requests

1 participant