Skip to content

Conversation

@ultronozm
Copy link
Contributor

This PR adds a couple completion commands that I've found convenient,
hopefully of broader use.

  • copilot.el (copilot-accept-completion-by-sentence): New command.
    (copilot--uppercase-char-p, copilot--completion-chunk-to-char): New
    helper functions.
    (copilot-accept-completion-up-to-char)
    (copilot-accept-completion-to-char): New commands, similar to
    'zap-up-to-char' and 'zap-to-char'.

  • README.md: Document them.

* copilot.el (copilot-accept-completion-by-sentence): New command.
(copilot--uppercase-char-p, copilot--completion-chunk-to-char): New
helper functions.
(copilot-accept-completion-up-to-char)
(copilot-accept-completion-to-char): New commands, similar to
'zap-up-to-char' and 'zap-to-char'.

* README.md: Document them.
Copy link
Collaborator

@bbatsov bbatsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition! Thanks!

@bbatsov bbatsov merged commit 45b9822 into copilot-emacs:main Dec 9, 2025
12 of 13 checks passed
@ultronozm ultronozm deleted the feat/new-accept-commands branch December 9, 2025 15:00
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

Successfully merging this pull request may close these issues.

2 participants