Repository navigation
Conversation
A pure state machine over a String and a char cursor: Normal, Insert, Visual and Visual Line modes, motions with counts, d/c/y/>/< with motions and text objects, registers, undo/redo, . repeat, macros, search with smartcase, and : commands. gd finds a label's definition and new lines line up after labels. Tested on plain text, with no UI. Claude-Session: https://claude.ai/code/session_012YxheuG2dru3dVKn3ztmBZ
The focused editor's keys go to the Vim engine: block cursor, mode line, mouse selections become Visual mode, yanks reach the system clipboard and Ctrl+V pastes. A new Settings menu holds Keybindings (Vim / Standard) and Theme, and --keymap picks one for a run. Command-line --theme, --keymap and --clock no longer overwrite the saved settings. Claude-Session: https://claude.ai/code/session_012YxheuG2dru3dVKn3ztmBZ
Clippy on Rust 1.99 (CI's stable) flags chunks_exact with a constant size. Claude-Session: https://claude.ai/code/session_012YxheuG2dru3dVKn3ztmBZ
krolyxon
marked this pull request as ready for review
November 1, 2026 04:38
krolyxon
added a commit
that referenced
this pull request
Nov 1, 2026
Vim keybindings in the GUI editor (default), Settings menu to switch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The GUI's code editor now uses Vim keybindings by default. A new Settings menu switches to standard keys (and holds Theme).
crates/bench51-gui/src/vim/) is pure logic over aStringand a char cursor, with 17 unit tests:://command line;d c y > <with motions and text objects (iw a" i( ip…);.repeat, macros, and smartcase search with highlighting;:w :q :wq :x :qa :e :42 :make :noh :bn;gdjumps to a label's definition, and new lines line up with the instruction column after a label.RECwhile a macro records). Mouse drags enter Visual mode. Yanks and deletes go to the system clipboard (likeclipboard=unnamedplus), and Ctrl+V pastes. The editor is read-only during debug sessions, but moving, searching and yanking still work. In Vim mode a focused editor keeps Ctrl-F for paging; Find is reachable through/and Edit → Find.--keymap vim|standardpicks one for a run. F1 shows a Vim section.--theme,--keymapand--clockno longer overwrite the saved settings.Draft: in-window testing stopped partway, because the screen locked during the test session. Verified in the real window so far: Vim mode by default,
5jandwmotions, the block cursor, the mode line, and the Settings menu. Still to check by hand:dd,u,ciwwith./search highlight,nVselection,qa…qshowing REC:w