# Swap \`NewlineBelow\` and \`NewlineAbove\` bindings for default linux keymap \(\#36939\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a03897012e9c22709f26597ce96e8bf4caf8974e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a03897012e9c22709f26597ce96e8bf4caf8974e

Requested commit: a03897012e9c22709f26597ce96e8bf4caf8974e

Commit: a03897012e9c22709f26597ce96e8bf4caf8974e

Tree: ed63536c3280a79e75e77e464a2847f58be9a757

Author: Finn Evers

Committer: GitHub

## Message

```
Swap `NewlineBelow` and `NewlineAbove` bindings for default linux keymap (#36939)

Closes https://github.com/zed-industries/zed/issues/33725

The default bindings for the `editor::NewlineAbove` and
`editor::NewlineBelow` actions in the default keymap were accidentally
swapped some time ago. This causes confusion, as normally these are the
other way around.

This PR fixes this by swapping these back, which also matches what
[VSCode does by
default](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf).

Release Notes:

- Swapped the default bindings for `editor::NewlineBelow` and
`editor::NewlineAbove` for Linux and Windows to align more with other
editors.
```

## Parents

- [f4071bdd8ea2a3914f169cd3ec4578541b684de0](https://git.cafe/gitcafe/zed/commit/f4071bdd8ea2a3914f169cd3ec4578541b684de0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a03897012e9c22709f26597ce96e8bf4caf8974e?format=markdown)
