# helix: Add Helix's "Amp Jump" Feature \(\#43733\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b359a42d56cdb6f30e895278e7b28173ab248cbf

Requested commit: b359a42d56cdb6f30e895278e7b28173ab248cbf

Commit: b359a42d56cdb6f30e895278e7b28173ab248cbf

Tree: c3fba8386f8341cbfe6e0d118af3a089a73f5dcd

Author: Mikhail Pertsev

Committer: GitHub

## Message

```
helix: Add Helix's "Amp Jump" Feature (#43733)

# Helix Amp Jump Navigation

## Overview

Implements Helix-style "amp jump" (`g w`) navigation for jump-to-word
functionality. This feature displays two-character labels on each word
in the visible area, allowing users to quickly jump to any word by
typing its label. Labels alternate between forward and backward
directions (same algorithm as in the Helix) from the cursor position,
giving closer jump targets easier-to-type labels.

## Context

- **Request:** Implement "amp jump" navigation similar to Helix editor's
jump-to-word feature.
- **Scope:** Full implementation including label generation, UI
rendering, and input handling.
- **Inspiration:** Helix editor's "amp jump" and vim-easymotion/hop.nvim
plugins.

## How It Works

1. Press `g w` to activate "amp jump"
2. Two-character labels appear on all words in visible area
3. User types the two-character label shown on the target word
4. Cursor jumps to that word


![img](https://3axhz45qqw.ufs.sh/f/6ZbnPrl7GVDFemyq4vCkvmpc5P1uMQlS20sVCwig8nb4TBDK)

Release Notes:

- Added in Helix mode the "amp jump" navigation (`g w`) that displays
two-character labels on words for quick cursor navigation. Labels
alternate between forward and backward directions from the cursor,
prioritizing closer targets with easier-to-type labels. The color of the
labels can be controlled via a new `helix.jump_label_accent` setting

---------

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
```

## Parents

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

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