helix: Add match operator (#34060)

This is an implementation of matching like "m i (", as well as "] (" and
"[ (" in `helix_mode` with a few supported objects and a basis for more.

Release Notes:

- Added helix operators for selecting text objects

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
fantacell
2025-09-08 08:48:47 -06:00
committed by GitHub
co-authored by Conrad Irwin
parent 3f80ac0127
commit 10989c702c
12 changed files with 1196 additions and 69 deletions
+4
View File
@@ -9,3 +9,7 @@ For a guide on Vim-related features that are also available in Helix mode, pleas
To check the current status of Helix mode, or to request a missing Helix feature, checkout out the ["Are we Helix yet?" discussion](https://github.com/zed-industries/zed/discussions/33580).
For a detailed list of Helix's default keybindings, please visit the [official Helix documentation](https://docs.helix-editor.com/keymap.html).
## Core differences
Any text object that works with `m i` or `m a` also works with `]` and `[`, so for example `] (` selects the next pair of parentheses after the cursor.