From ca4f3e787c8533e67451870b193bdf8bd5609108 Mon Sep 17 00:00:00 2001 From: Kenneth Auchenberg Date: Thu, 2 Nov 2017 16:20:23 -0700 Subject: [PATCH] Add command to delete from cursor until end of line fixes #62 --- package.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b8c210a..30fba58 100644 --- a/package.json +++ b/package.json @@ -153,7 +153,7 @@ "when": "editorTextFocus" }, { - "mac": "alt+cmd+/", + "mac": "cmd+alt+/", "win": "ctrl+shift+/", "linux": "ctrl+shift+/", "key": "ctrl+shift+/", @@ -436,7 +436,7 @@ "key": "ctrl+k ctrl+l", "command": "editor.action.transformToLowercase", "when": "editorTextFocus" - }, + }, { "mac": "cmd+k a", "key": "ctrl+k a", @@ -484,7 +484,15 @@ "linux": "ctrl+p", "key": "ctrl+p", "command": "workbench.action.quickOpenPreviousEditor" - } + }, + { + "mac": "cmd+k cmd+k", + "win": "ctrl+k ctrl+k", + "linux": "ctrl+k ctrl+k", + "command": "deleteAllRight", + "key": "ctrl+k ctrl+k", + "when": "editorTextFocus && !editorReadonly" + } ], "configuration": { "type": "object",