diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json index d21680bdac..dcb18a4c2b 100644 --- a/assets/keymaps/default-linux.json +++ b/assets/keymaps/default-linux.json @@ -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": { diff --git a/assets/keymaps/default-macos.json b/assets/keymaps/default-macos.json index 758f518aa3..bfbca8fb56 100644 --- a/assets/keymaps/default-macos.json +++ b/assets/keymaps/default-macos.json @@ -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": {