v0.2.0: vim bindings, Shift-H/L focus nav, hot-model default #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/vim-bindings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Release notes in CHANGELOG.md
- y/Y/yy and visual y now route through vim's "+" register, which copies to the system clipboard via the synchronous document .execCommand("copy") path — no permission prompt. - p/P also remapped to "+ register for symmetry; replaces my custom navigator.clipboard.readText() action. Browser may still show a permission chip on first paste; granting once makes it silent. - Source / target / model dropdowns get modal vim-style nav: default is native typeahead, Esc → normal mode (accent border), j/k move selectedIndex, i and / return to search, blur resets. Disabled on coarse-pointer devices.- Replace Vim.map("...", "\"+...", ...) with custom Vim.defineAction handlers calling navigator.clipboard directly. The library's "+" register implementation doesn't reliably write on Firefox. Limitation: only yy/Y/visual-y reach system clipboard; bare y<motion> still uses vim's internal register. - Flip dropdown modal: default NORMAL (j/k arrows), `/` or `i` enters search. Listener moved to document capture phase so closed dropdowns receive keydown on Firefox.The vim clipboard integration was unreliable across browsers (library "+" register broken on Firefox; custom navigator.clipboard actions worked on Chrome but hit chip prompts and Firefox config edge cases). The modal dropdown layer added more state than it saved keystrokes. Pulling both back out. What remains of the vim work: - CodeMirror + @replit/codemirror-vim in the input buffer (i/Esc, hjkl, word/line motions, yy/p via vim's internal register, undo, /, :) - Shift-H / Shift-L focus navigation across controls, including the H/L override inside the editor so it works from any focus