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

Add command to delete from cursor until end of line #25075

Closed
frankcai opened this issue Apr 20, 2017 · 1 comment
Closed

Add command to delete from cursor until end of line #25075

frankcai opened this issue Apr 20, 2017 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality

Comments

@frankcai
Copy link

As an example, in Visual Studio there is a command to delete from cursor until eol, see http://stackoverflow.com/questions/10656417/how-to-delete-from-cursor-until-end-of-line-with-vs-or-power-tool

@mjbvz mjbvz self-assigned this Apr 20, 2017
@mjbvz mjbvz added the feature-request Request for new features or functionality label Apr 20, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 20, 2017

Try the deleteAllRight command. Here's the default keybinding:

{
  "command": "deleteAllRight",
  "key": "ctrl+k",
  "when": "editorTextFocus && !editorReadonly"
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants