-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Keymap changes for editor::JoinLines
#14136
Conversation
- Linux remove ctrl-j - Linux add ctrl-shift-j - MacOS add cmd-shift-j
assets/keymaps/default-macos.json
Outdated
"ctrl-j": "editor::JoinLines", | ||
"cmd-shift-j": "editor::JoinLines", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a Mac user so these might be the norm, but they do stand out as dupes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some archeology and I think you're right.
Adding cmd-shift-j
to the Sublime-Mac keybind.
Sublime Linux Default Keymap (2024)
{ "keys": ["ctrl+shift+j"], "command": "join_lines" },
Sublime MacOS Default Keymap (2024)
{ "keys": ["super+shift+j"], "command": "join_lines" },
'cmd-j': 'editor:join-lines'
'ctrl-j': 'editor:join-lines'
Earlier atom used meta-j
(alt-j
) and emacs uses M-^
for join-line
.
/cherry-pick v0.144.x |
1 similar comment
/cherry-pick v0.144.x |
- Linux (default) add ctrl-shift-j - Linux (default) remove ctrl-j - Conflicted with: `"ctrl-j": "workspace::ToggleBottomDock",` - MacOS (sublime) add cmd-shift-j
Cherry-picked Keymap changes for `editor::JoinLines` (#14136)
"ctrl-j": "workspace::ToggleBottomDock",
JetBrains/Sublime on Windows/Linux already use
ctrl-shift-j
Reported here:
CTRL
shortcuts not working properly on Linux #14085 (comment)Release Notes:
editor::JoinLines
to ctrl-shift-j (Linux)