microsoft/vscode

Add command to delete from cursor until end of line

frankcai opened this issue · 1 comments

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 commented

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

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