# Consistently map syntax node navigation actions on macOS \(\#37874\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cffb883108ec07ec2f51446cb35eac19b89e625f

Requested commit: cffb883108ec07ec2f51446cb35eac19b89e625f

Commit: cffb883108ec07ec2f51446cb35eac19b89e625f

Tree: b1ee6b589049ea2ffc45ccbf6be4919f8314f3f9

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Consistently map syntax node navigation actions on macOS (#37874)

Skipping Linux and Windows keymaps here, as it's hard to find a
consistent base-binding for all 4 actions across all platforms that
don't break important actions for each keymap. Someone else can think on
that and make a proposal.

Release Notes:

- Added bindings for navigating between sibling nodes in the syntax tree
on macOS (`cmd-ctrl-{up/down}` for `SelectPreviousSyntaxNode` and
`SelectNextSyntaxNode`). Breaking change: the existing syntax tree
parent/child navigation bindings have moved from
`ctrl-shift-{left/right}` to `cmd-ctrl-{left/right}` to create a unified
four-directional navigation pattern where all syntax tree operations use
the same modifier combination. We could not use the previous base
modifiers without breaking more bindings.
```

## Parents

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

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