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

Programmatical cancel/abort of cursors/range session through editor.action.cancelRanges #5052

Open
LucHermitte opened this issue Jun 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@LucHermitte
Copy link

Issue to trace the feature request discussed in #4986

Is your feature request related to a problem? Please describe.

There is no programmatically way to cancel a cursors/range session.

Describe the solution you'd like

Support for the following would be perfect

:call CocAction('runCommand', 'editor.action.cancelRanges')

Describe alternatives you've considered

I know feedkeys() could be used, but I'd rather avoid feeding <esc> if I could.

Additional context

My main use case would be to replace an internal the dependence in my plugins to implement named-placeholders. See the discussion in #4986

@fannheyward fannheyward self-assigned this Jun 24, 2024
@fannheyward fannheyward added the enhancement New feature or request label Jul 8, 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
Projects
None yet
Development

No branches or pull requests

2 participants