loyage/dsh-vim
Vim-style modal navigation for the DSH web GUI — j/k, gg/G, zz, : commands and a rebindable keymap with its own keybindings page.
Adds vim-style modal keyboard navigation to the DSH web GUI: j/k to move the cursor, gg/G for first and last row, h/l to fold tool rows, Ctrl+d and Ctrl+u for half pages, zz/zt/zb to reposition, yy to copy a row, panel focus keys, a : command mode with side, details, theme and vim on/off, and a keybindings page that lists every binding, rebinds actions and restores the defaults, persisting to the ui-vim settings section.
Install
dsh plugin --profile web add dsh-vimThe package's cordis.patch.yml inserts the host-side settings registration, the browser-side engine and an invariant companion, so one add is enough; verify the layer with dsh --profile web --dump-config | grep -A 5 ui-vim, then boot the web GUI. Press g ? in normal mode for the keybindings page. A local checkout, a GitHub form and a patch-layer route pointed at lib/index.js are also documented. pnpm 10+ may need pnpm approve-builds --all in the profile directory, and a freshly published version can hit pnpm's 24-hour minimum release age.
Compatibility
Read the compatibility note before upgrading: the engine reads the rendered web shell through data-* attributes such as [data-chat-flow] and [data-shell-overlay], and the README states plainly that these are not a public API — pin the plugin to your harness version and re-verify after upgrading. It was extracted from packages/client/ui-vim in the harness repo at commit 528d5204. Panel focus navigation moves sessions, conversation and details and stops at the edges without wrapping; multi-key sequences resolve within 900 ms; Esc is the only way back to normal mode because Ctrl+[ is deliberately unbound; vim keys intentionally do not hijack typing in insert mode. Web GUI only — the terminal client is out of scope. The FAQ covers the double-mount symptom when an aggregate bundle also mounts this package.
Details
- Repo: loyage/dsh-vim
- Category: Web UI Enhancements
- Stars: 0
- Version: 0.1.0 (npm, MIT); targets DSH 0.1.0-rc.7
Alternatives
SodaZheng/dsh-more · Crosery/dsh-viewer · zoahdev/dsh-firstrun