-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default keybindings that conflict with default Ubuntu OS keybindings #509
Comments
@Tyriar Again, would love your input to find better out of the box defaults |
@alexandrudima did #51 change |
@Tyriar Sorry about that, it was getting late yesterday 😄 You're right, those ones I didn't touch |
Coming from ST3 I use |
What about Ctrl+D to duplicate line? { "key": "ctrl+d", "command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus" }, |
Ctrl-d is currently used for multiple cursor selection, I also use this all the time so I'd vote for that to stay as it is! |
Yeah ctrl+d is quite a well known keybinding so that definitely isn't going to change. |
I want to migrate to vscode but, like every body else on Ubuntu, really need to duplicate lines. What you recommend?:
For now I create my custom keybindings of vscode. For newbies (like my self) go to File > Preferences > Keyboard Shortcuts and edit keybindings.json. // Place your key bindings in this file to overwrite the defaults
[
{ "key": "meta+ctrl+shift+alt+down", "command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly" },
{ "key": "meta+ctrl+shift+alt+up", "command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly" }
] |
@mattez Just customize vscode's keybindings -- [{ "key": "ctrl+shift+d", "command":"editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" }] |
@alexandrudima Thank you. I'm so impatient. I edited my previous comment, before I read yours. Now a little ashamed. But I agree I'm newbie who don't use Debug yet. And also I don"t need two duplication actions (up & down) I need only one duplicate. |
Hi guys, I can help with this issue if there's a final decision on it. Recently migrated to vscode and ran into this problem today |
I would be hesitant to do anything here as it could break people. However, if there are keybindings that differ on Windows and Linux but they're broken on Linux maybe we could look into this. Also this issue applies specifically to Unity on Ubuntu which is now deprecated. I haven't checked what windows management keybindings Ubuntu Gnome ships out of the box but we should target them as the primary example on Linux going forward. |
Why is it not by default set to |
@cpxPratik since the initial version ctrl/cmd+d has been assigned to the "Add selection to next find match" command. I wasn't around to explain that decision but it's a very popular keybinding at this point so I doubt we would ever change the default. |
I think it's from Sublime Text; I remember using the same shortcut for that as well. |
@Tyriar I customized key-binding for |
As we now have very many users on Linux (not only on Unity), I don't plan to make any changes to the default keybindings, as changes to the defaults will break the flow of folks not using Ubuntu + Unity. I am sorry if this causes any grief, but it is very simple to customize keybindings. Furthermore, it is very simple to create an extension which customizes default keybindings. Such an extension could be published to the marketplace and called "Ubuntu Unity optimized keymap" etc. |
Related #51
The following default keybindings conflict with default Ubuntu OS keybindings.
Move app to different workspace:
Maximize/unmaximize(?):
The text was updated successfully, but these errors were encountered: