# Make \`alt-left\` and \`alt-right\` skip punctuation like VSCode \(\#31977\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 81058ee1721e2668f472cd0924ae17c0d27c0c7f

Requested commit: 81058ee1721e2668f472cd0924ae17c0d27c0c7f

Commit: 81058ee1721e2668f472cd0924ae17c0d27c0c7f

Tree: 52f34c3a008efba09b70a1bf5f59e23adafb409e

Author: Tommy D\. Rossi

Committer: GitHub

## Message

```
Make `alt-left` and `alt-right` skip punctuation like VSCode (#31977)

Closes https://github.com/zed-industries/zed/discussions/25526
Follow up of #29872

Release Notes:

- Make `alt-left` and `alt-right` skip punctuation on Mac OS to respect
the Mac default behaviour. When pressing alt-left and the first
character is a punctuation character like a dot, this character should
be skipped. For example: `hello.|` goes to `|hello.`

This change makes the editor feels much snappier, it now follows the
same behaviour as VSCode and any other Mac OS native application.


@ConradIrwin
```

## Parents

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

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