opencode-vim 0.0.23 → 0.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +11 -0
  2. package/dist/tui.js +3326 -0
  3. package/package.json +6 -6
  4. package/src/clipboard.tsx +0 -50
  5. package/src/modules/snippets/index.tsx +0 -17
  6. package/src/modules/snippets/loader.ts +0 -147
  7. package/src/modules/snippets/search.ts +0 -118
  8. package/src/modules/snippets/skill-loader.ts +0 -81
  9. package/src/modules/snippets/state.ts +0 -40
  10. package/src/modules/snippets/trigger.ts +0 -68
  11. package/src/modules/snippets/types.ts +0 -50
  12. package/src/modules/snippets/view.tsx +0 -674
  13. package/src/modules/vim/actions.ts +0 -82
  14. package/src/modules/vim/config.ts +0 -137
  15. package/src/modules/vim/edit.test.ts +0 -51
  16. package/src/modules/vim/edit.ts +0 -33
  17. package/src/modules/vim/graphemes.ts +0 -38
  18. package/src/modules/vim/index.tsx +0 -200
  19. package/src/modules/vim/keys.ts +0 -38
  20. package/src/modules/vim/log.ts +0 -37
  21. package/src/modules/vim/map.test.ts +0 -45
  22. package/src/modules/vim/map.ts +0 -90
  23. package/src/modules/vim/state.test.ts +0 -18
  24. package/src/modules/vim/state.tsx +0 -46
  25. package/src/modules/vim/view.tsx +0 -130
  26. package/src/modules/vim/vimee.test.ts +0 -211
  27. package/src/modules/vim/vimee.ts +0 -1211
  28. package/src/plugin.tsx +0 -116
  29. package/src/prompt/host.tsx +0 -38
  30. package/src/prompt/modules.ts +0 -16
  31. package/src/prompt/root.tsx +0 -69
  32. package/src/prompt/types.ts +0 -42
  33. package/src/session.tsx +0 -291
  34. package/src/transcript-items.tsx +0 -168
  35. package/src/transcript.tsx +0 -179
  36. package/src/update.ts +0 -120
  37. package/tui.tsx +0 -340
  38. package/view.tsx +0 -29
package/README.md CHANGED
@@ -16,6 +16,8 @@ opencode plugin add opencode-vim@latest
16
16
  opencode plugin update opencode-vim@latest
17
17
  ```
18
18
 
19
+ Restart the terminal UI after updating to load the new version.
20
+
19
21
  ## Usage
20
22
 
21
23
  Press `Esc` to enter normal mode and `i` to type again in insert mode.
@@ -25,6 +27,15 @@ to navigate, `Enter` to open an item, and `s` to return to the prompt.
25
27
 
26
28
  Use `/vim` to toggle the plugin on or off.
27
29
 
30
+ ## Development
31
+
32
+ Run `npm ci` and `bun run build` before loading this checkout as a local plugin.
33
+ Rebuild after changing source files. The published entrypoint compiles JSX and
34
+ uses OpenCode's shared UI runtime.
35
+
36
+ `bun run test` checks both source loading and the packed npm plugin under
37
+ `node_modules`, including mode updates, session browsing, clipboard and cleanup.
38
+
28
39
  ## Documentation
29
40
 
30
41
  - [Keybindings and modes](./docs/vim-behavior.md)