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

Comments

Projects
None yet
2 participants
@FrankCai
Copy link

commented Apr 20, 2017

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

This comment has been minimized.

Copy link
Contributor

commented Apr 20, 2017

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

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

@mjbvz mjbvz closed this Apr 20, 2017

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.