Remove `!jupyter` context for `cmd-enter` (`ctrl-enter` for linux) key binding (#15133)
pantheraleo-7
created 2 years ago
Since zed has done away with `cmd-enter` binding for `repl::Run`
[#15026](https://github.com/zed-industries/zed/pull/15026), I think this
is no longer needed.
Release Notes:
- N/A
Change summary
assets/keymaps/default-linux.json | 7 +------
assets/keymaps/default-macos.json | 7 +------
2 files changed, 2 insertions(+), 12 deletions(-)
Detailed changes
@@ -106,6 +106,7 @@
"bindings": {
"enter": "editor::Newline",
"shift-enter": "editor::Newline",
+ "ctrl-enter": "editor::NewlineAbove",
"ctrl-shift-enter": "editor::NewlineBelow",
"alt-z": "editor::ToggleSoftWrap",
"ctrl-f": "buffer_search::Deploy",
@@ -116,12 +117,6 @@
"ctrl-alt-e": "editor::SelectEnclosingSymbol"
}
},
- {
- "context": "Editor && mode == full && !jupyter",
- "bindings": {
- "ctrl-enter": "editor::NewlineAbove"
- }
- },
{
"context": "Editor && mode == full && inline_completion",
"bindings": {
@@ -135,6 +135,7 @@
"bindings": {
"enter": "editor::Newline",
"shift-enter": "editor::Newline",
+ "cmd-enter": "editor::NewlineBelow",
"cmd-shift-enter": "editor::NewlineAbove",
"alt-z": "editor::ToggleSoftWrap",
"cmd-f": "buffer_search::Deploy",
@@ -146,12 +147,6 @@
"cmd-alt-e": "editor::SelectEnclosingSymbol"
}
},
- {
- "context": "Editor && mode == full && !jupyter",
- "bindings": {
- "cmd-enter": "editor::NewlineBelow"
- }
- },
{
"context": "Editor && mode == full && inline_completion",
"bindings": {