kasecato / vscode-intellij-idea-keybindings

Port of IntelliJ IDEA key bindings for VS Code.
https://marketplace.visualstudio.com/items?itemName=k--kato.intellij-idea-keybindings
MIT License
813 stars 135 forks source link

"Command Y"  has no effect on mac #283

Closed icefery closed 1 year ago

icefery commented 1 year ago

Using "Ctrl Y" to delete the entire line works well on windows. But "Command Y" has no effect on mac.

kasecato commented 1 year ago

You can find it here.

https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf

kasecato commented 1 year ago
            {
                "key": "ctrl+y",
                "mac": "cmd+backspace", // you can change it to "cmd+y"
                "command": "editor.action.deleteLines",
                "when": "editorTextFocus && !editorReadonly",
                "intellij": "Delete line at caret"
            },
icefery commented 1 year ago

OK, thanks, I forgot to reply and close this issue.