alpha
Login
or
Join now
isaaccorbrey.com
/
helicase
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Helix keybinds for JetBrains products
modal-editor
helix
jetbrains
plugin
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
helicase
/
plugin
/
src
/
test
/
at
main
1 folder
Isaac Corbrey
Persist lastSearch across keystrokes so n/N actually work
2mo ago
95f19912
kotlin
Persist lastSearch across keystrokes so n/N actually work EditorBridge.read rebuilds EditorState from the editor's Document and CaretModel every keystroke — anything not stored on the editor was silently lost. Engine.search() updated EditorState.lastSearch, but write() never copied it back to HelicaseState, so the next read started with lastSearch=null and 'n' fell back to a no-op. Add lastSearch to HelicaseState (alongside mode and restoreCursor), include it in EditorBridge.read's EditorState, and persist it back in EditorBridge.write. Pattern matches how restoreCursor was already handled. New plugin test exercises the full round trip: search → write to editor → read back → n → next match. Would have failed before this fix.
2 months ago