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.
- package/README.md +11 -0
- package/dist/tui.js +3326 -0
- package/package.json +6 -6
- package/src/clipboard.tsx +0 -50
- package/src/modules/snippets/index.tsx +0 -17
- package/src/modules/snippets/loader.ts +0 -147
- package/src/modules/snippets/search.ts +0 -118
- package/src/modules/snippets/skill-loader.ts +0 -81
- package/src/modules/snippets/state.ts +0 -40
- package/src/modules/snippets/trigger.ts +0 -68
- package/src/modules/snippets/types.ts +0 -50
- package/src/modules/snippets/view.tsx +0 -674
- package/src/modules/vim/actions.ts +0 -82
- package/src/modules/vim/config.ts +0 -137
- package/src/modules/vim/edit.test.ts +0 -51
- package/src/modules/vim/edit.ts +0 -33
- package/src/modules/vim/graphemes.ts +0 -38
- package/src/modules/vim/index.tsx +0 -200
- package/src/modules/vim/keys.ts +0 -38
- package/src/modules/vim/log.ts +0 -37
- package/src/modules/vim/map.test.ts +0 -45
- package/src/modules/vim/map.ts +0 -90
- package/src/modules/vim/state.test.ts +0 -18
- package/src/modules/vim/state.tsx +0 -46
- package/src/modules/vim/view.tsx +0 -130
- package/src/modules/vim/vimee.test.ts +0 -211
- package/src/modules/vim/vimee.ts +0 -1211
- package/src/plugin.tsx +0 -116
- package/src/prompt/host.tsx +0 -38
- package/src/prompt/modules.ts +0 -16
- package/src/prompt/root.tsx +0 -69
- package/src/prompt/types.ts +0 -42
- package/src/session.tsx +0 -291
- package/src/transcript-items.tsx +0 -168
- package/src/transcript.tsx +0 -179
- package/src/update.ts +0 -120
- package/tui.tsx +0 -340
- 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)
|