一个 Helix 编辑器插件,提供模糊过滤的选取器,用于浏览和重用存储在寄存器中的 yank、命令历史和搜索历史。

Stars

3

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

AGPL-3.0

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它填补了 Helix 的一个明显空白,暴露了之前不可见的寄存器内容,深度集成了 Helix 的选取器 UI,并用 Steel Scheme 实现,展示了可扩展性。

适合谁使用

  • 希望拥有类似 Vim 寄存器历史访问功能的 Helix 用户
  • 寻找 Steel Scheme 集成示例的 Helix 插件开发者
  • 经常执行 yank、搜索或重复命令的高级用户

典型使用场景

  • 恢复被覆盖的多光标 yank
  • 无需重新输入即可重新运行复杂命令
  • 重复使用之前的搜索模式进行导航

项目优势

  • 在三个源(yank、命令、搜索)上提供模糊过滤并带预览窗格
  • 通过 %name 语法支持列特定过滤(如 %s 按源过滤)
  • 对每种条目类型支持暂存(回车)和立即操作(Alt-回车)
  • 可配置观察列表、容量以及是否包含历史记录

使用前须知

  • 无法在不打开提示符的情况下运行命令(Steel 限制)
  • 仅捕获被观察寄存器的 yank;未观察的寄存器不可见
  • 无法恢复 yank 的源寄存器,因此 Alt-回车会粘贴到默认寄存器
  • 剪贴板寄存器 + 和 * 从未被观察以避免性能问题
  • 百分号 (%) 启动列过滤,搜索文字 % 需要转义为 \%

README 快速开始

previously.hx

A picker for everything that has passed through a register, for the Helix editor, written in Steel Scheme.

Yanks, typed commands and / searches all land in registers, and Helix gives you no way to look back at them. This shows you the lot in one fuzzy-filtered list with a preview pane, and puts whichever one you choose back at the front of its register.

Install

Requires a plugin-enabled Helix build. With forge, Steel’s package manager:

forge pkg install --git https://github.com/waddie/previously.hx

Then in ~/.config/helix/init.scm:

(require "previously.hx/previously.scm")

Capture starts at load, and :previously opens the picker.

Use

Run :previously. The list holds every yank captured since Helix started, then your : history, then your / history. Type to filter across all three. The preview pane holds the whole value, which is how a yank full of whitespace becomes readable.

Rows are y, : or / for where the value came from, then the register character, then the first line of the value, then (N) when a yank spans several cursors.

Typed text filters the value. A column takes its own filter under the %name syntax Helix’s own pickers use, so %s narrows by source, %r by register and %v by value. A literal percent is \%.

Enter stages. Alt-Enter acts immediately.

SourceEnterAlt-Enter
Yankrewrites its register, so p pastes itpastes it now
:pulls it to the front of :, opens the promptsame as Enter
/pulls it to the front of /, so n finds itsearches for it now

A command entry opens the prompt showing the chosen line as its suggestion: Enter runs it, Up puts it in the line so you can edit it first. That falls out of Helix’s own prompt, which suggests and runs the newest : entry when the line is empty, so pulling one to the front is all this has to do.

Configure

Optional, after the require:

(previously-configure!
  (hash 'watch (list #\" #\a #\b) ; registers to capture yanks from
        'cap 50 ; entries kept per register
        'commands? #true ; include the : history
        'searches?

项目描述

Unified register history for yanks, searches, and typed commands in Helix

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

Ra77a3l3-jar
Ra77a3l3-jar GitHub avatar

forest.hx

forest.hx is a file tree explorer for the Helix editor offering two selectable UI styles: a persistent sidebar panel with fuzzy search ('snacks') and floating Miller columns with live preview ('mini').

Scheme
71
angieruiz17
angieruiz17 GitHub avatar

codex-gpt-plugin

Codex Gpt Plugin connects a Codex agent to a logged-in ChatGPT Pro session via browser automation, enabling high-leverage tasks like architecture review and debugging strategy.

JavaScript
136
arthurkatcher
arthurkatcher GitHub avatar

grok-delegate

A Grok Build plugin that delegates tasks to local Claude Code or Codex CLI, letting users leverage external AI coding agents directly from a Grok session.

JavaScript
13