Delete word forward/backward
OliverJAsh opened this issue · 4 comments
OliverJAsh commented
- VSCode Version: Code Insiders
- OS Version: latest OS X
On Mac, a common shortcut across the OS is alt+backspace to delete backwards a word and alt+fn+backspace to delete forwards a word. However, this does not work in vscode.
waderyan commented
I have added this to the list of Sublime Text commands that are missing in #3776
Here are some animations I put together to capture the feature.
Delete from cursor to end of line:
Delete prefix to cursor:
Delete suffix from cursor:
rebornix commented
For deleting from cursor to the end of line, we have ctrl+k
builtin.
For deleting word suffix, we have deleteWordRight
which is bind to alt+delete
by default. For deleting word prefix, it's deleteWordLeft
command and alt+backspace
.
waderyan commented
Should this be closed?