[PR #95] [MERGED] Add word jumping utils mimicking VSCode alt-arrow shortcuts #1064

Closed
opened 2026-03-14 09:16:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/95
Author: @remorses
Created: 8/28/2025
Status: Merged
Merged: 8/28/2025
Merged by: @kommander

Base: mainHead: jump-words


📝 Commits (3)

📊 Changes

2 files changed (+302 additions, -0 deletions)

View changed files

packages/core/src/lib/word-jumps.test.ts (+190 -0)
packages/core/src/lib/word-jumps.ts (+112 -0)

📄 Description

In preparation of #75

I already implemented this feature into Zed so I am adding it here too, I already spent a lot of time to understand all the nuances


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/95 **Author:** [@remorses](https://github.com/remorses) **Created:** 8/28/2025 **Status:** ✅ Merged **Merged:** 8/28/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `jump-words` --- ### 📝 Commits (3) - [`456dff8`](https://github.com/anomalyco/opentui/commit/456dff89b8f4575934a11acdd4f96b013cdc8783) add word jumps utils - [`a1bc73a`](https://github.com/anomalyco/opentui/commit/a1bc73afaf54fcb264c1e987041c628ac315bc7c) Update word-jumps.ts - [`63cfdcb`](https://github.com/anomalyco/opentui/commit/63cfdcba825265fcec0b2ac0a0ee6a5d405b0edf) _ is not a boundary ### 📊 Changes **2 files changed** (+302 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `packages/core/src/lib/word-jumps.test.ts` (+190 -0) ➕ `packages/core/src/lib/word-jumps.ts` (+112 -0) </details> ### 📄 Description In preparation of #75 I [already implemented this feature into Zed](https://github.com/zed-industries/zed/pull/31977) so I am adding it here too, I already spent a lot of time to understand all the nuances --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:16:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#1064
No description provided.