shijimi-editor 0.4.2 → 0.4.4
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 +8 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ English | [日本語](README.ja.md)
|
|
|
4
4
|
|
|
5
5
|
An integrated development environment for the terminal (TUI). The screen is laid out like VS Code. For editing you can choose between Helix-style modal editing and modeless VS Code-style keys. The command is `shj`.
|
|
6
6
|
|
|
7
|
-
Manual (English, with a Japanese version): <https://shijimi-manual
|
|
7
|
+
Home page: <https://mm1995tk.github.io/shijimi-editor/> / Manual (English, with a Japanese version): <https://mm1995tk.github.io/shijimi-editor/manual/> (source in [`site/`](site/) and [`manual/`](manual/))
|
|
8
8
|
|
|
9
9
|
The UI is in English by default. To switch it to Japanese, set `ui-language = "ja"` in `config.toml` (see [UI language](#ui-language)).
|
|
10
10
|
|
|
@@ -17,7 +17,7 @@ The UI is in English by default. To switch it to Japanese, set `ui-language = "j
|
|
|
17
17
|
- **LSP configuration** is written in a `languages.toml` that is compatible with Helix's (`.shijimi-editor/languages.toml` or `~/.config/shijimi-editor/languages.toml`). If you are coming from Helix, copy your `languages.toml` to `~/.config/shijimi-editor/`
|
|
18
18
|
- **Diff mode** (`Space G` / `Ctrl+G` compares with `HEAD`; `Space g` / `:pr` compares with the base of a pull request): switches the whole editor to diff mode. Changed files are listed in a tree (CHANGES), and a changed file opens as the **whole file** in a split (or unified) diff. The right side is editable. The bar on the right edge shows where the changes are, and the parts that changed inside a line are highlighted (see below)
|
|
19
19
|
- **Image preview** (PNG / JPEG / GIF / BMP / WebP / TIFF)
|
|
20
|
-
- **Markdown preview** (`Space m` / `:preview`): renders headings, lists, code and tables, and shows them beside the buffer you are editing. Press it again to show only the preview at full width. Mermaid code blocks are shown as diagrams (see below)
|
|
20
|
+
- **Markdown preview** (`Space m` / `:preview`): renders headings, lists, code and tables, and shows them beside the buffer you are editing. Press it again to show only the preview at full width. Mermaid code blocks are shown as diagrams, and an image written alone on a line is shown as an image (see below)
|
|
21
21
|
- **Send the current context to an agent** (`Space a` / `Alt+A` / command palette): formats the selection (or the cursor line) as `path:line-line`, the text, and the diagnostics on those lines, and after you check it in a preview, pastes it into the terminal panel (it does not press Enter)
|
|
22
22
|
- **Suggestions panel and ACP** (`Alt+I` / `Space i`): lists suggestions such as "Resolve the conflicts?", "Create a PR?" and "Investigate the cause of the failure?" in the right panel, based on the state of git, LSP and the terminal. When you pick one, it asks an agent over ACP (Agent Client Protocol), shows the progress and the reply in the panel, and shows changes in diff mode. Comments proposed by an AI review are placed as unsent comments
|
|
23
23
|
- **Claude Code IDE integration**: Claude Code running in the terminal panel can get the selection, the open files and the diagnostics, and you approve its changes as a diff (Claude Code writes the file after you approve; see "Agent integration" below)
|
|
@@ -176,6 +176,8 @@ In a `.md` file, `Space m` (or `:preview`, or the command palette) opens a previ
|
|
|
176
176
|
|
|
177
177
|
Mermaid diagrams are turned into PNGs with [mermaid-cli](https://github.com/mermaid-js/mermaid-cli) (`mmdc`) and shown. If `mmdc` is not on the PATH, or rendering fails, the source and the error are shown instead of the diagram. `mermaid-command` replaces it with another command (`{in}` is the input, `{out}` the output PNG). Rendered images are kept in `~/.cache/shijimi/mermaid`.
|
|
178
178
|
|
|
179
|
+
An image written alone on a line, ``, is shown as an image in the same way. The path is relative to the Markdown file. Images in the middle of a sentence, and images that are not files (such as `https://`), are shown as text.
|
|
180
|
+
|
|
179
181
|
## Keys (Helix mode)
|
|
180
182
|
|
|
181
183
|
### Normal mode
|
|
@@ -387,9 +389,9 @@ When the first argument is `diff` / `exec` / `skill`, it is treated as a subcomm
|
|
|
387
389
|
|
|
388
390
|
> `shj open` and `shj status` were removed and replaced by the IDE integration (`openFile` / `getOpenEditors` / `getCurrentSelection`).
|
|
389
391
|
|
|
390
|
-
## Editing the manual
|
|
392
|
+
## Editing the manual and the home page
|
|
391
393
|
|
|
392
|
-
The manual is built from `manual/` with [MkDocs Material](https://squidfunk.github.io/mkdocs-material/). When you push to `main`, GitHub Actions publishes
|
|
394
|
+
The manual is built from `manual/` with [MkDocs Material](https://squidfunk.github.io/mkdocs-material/). The home page is the plain HTML in `site/`. When you push to `main`, GitHub Actions publishes both to GitHub Pages: the home page at the root and the manual under `/manual/`. To preview the manual locally, run:
|
|
393
395
|
|
|
394
396
|
```sh
|
|
395
397
|
pip install -r manual/requirements.txt
|
|
@@ -398,6 +400,8 @@ mkdocs serve --config-file manual/mkdocs.yml
|
|
|
398
400
|
|
|
399
401
|
The manual has an English page (`name.en.md`, the default) and a Japanese page (`name.ja.md`) for each page. When you change one, change the other too. `manual/check-translations.sh` checks that every page has both languages and the same structure, and CI runs it on pull requests (it also fails when only one language of a page changed; add `[skip-i18n-check]` to the pull request title to skip that part, for a typo fix for example).
|
|
400
402
|
|
|
403
|
+
The screenshots and the demo video of the home page (`site/images/`) are recorded with [vhs](https://github.com/charmbracelet/vhs), and the ones with images and mermaid diagrams are taken in kitty, because they need the Kitty graphics protocol. After a change to the screen, run `site/screenshots/record.sh` (it needs Nix) to record them again. The scenes are in `site/screenshots/tapes/` (vhs) and `site/screenshots/kitty/` (kitty).
|
|
404
|
+
|
|
401
405
|
## License
|
|
402
406
|
|
|
403
407
|
[MIT](LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shijimi-editor",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "VS Code-style terminal IDE with Helix keybindings",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/mm1995tk/shijimi-editor",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"node": ">=18"
|
|
20
20
|
},
|
|
21
21
|
"optionalDependencies": {
|
|
22
|
-
"shijimi-editor-linux-x64": "0.4.
|
|
23
|
-
"shijimi-editor-linux-arm64": "0.4.
|
|
24
|
-
"shijimi-editor-darwin-x64": "0.4.
|
|
25
|
-
"shijimi-editor-darwin-arm64": "0.4.
|
|
22
|
+
"shijimi-editor-linux-x64": "0.4.4",
|
|
23
|
+
"shijimi-editor-linux-arm64": "0.4.4",
|
|
24
|
+
"shijimi-editor-darwin-x64": "0.4.4",
|
|
25
|
+
"shijimi-editor-darwin-arm64": "0.4.4"
|
|
26
26
|
}
|
|
27
27
|
}
|