Skip to content

Commit ca4f3e7

Browse files
committed
Add command to delete from cursor until end of line fixes #62
1 parent 9c8a554 commit ca4f3e7

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"when": "editorTextFocus"
154154
},
155155
{
156-
"mac": "alt+cmd+/",
156+
"mac": "cmd+alt+/",
157157
"win": "ctrl+shift+/",
158158
"linux": "ctrl+shift+/",
159159
"key": "ctrl+shift+/",
@@ -436,7 +436,7 @@
436436
"key": "ctrl+k ctrl+l",
437437
"command": "editor.action.transformToLowercase",
438438
"when": "editorTextFocus"
439-
},
439+
},
440440
{
441441
"mac": "cmd+k a",
442442
"key": "ctrl+k a",
@@ -484,7 +484,15 @@
484484
"linux": "ctrl+p",
485485
"key": "ctrl+p",
486486
"command": "workbench.action.quickOpenPreviousEditor"
487-
}
487+
},
488+
{
489+
"mac": "cmd+k cmd+k",
490+
"win": "ctrl+k ctrl+k",
491+
"linux": "ctrl+k ctrl+k",
492+
"command": "deleteAllRight",
493+
"key": "ctrl+k ctrl+k",
494+
"when": "editorTextFocus && !editorReadonly"
495+
}
488496
],
489497
"configuration": {
490498
"type": "object",

0 commit comments

Comments
 (0)