Repository navigation
Editor Shortcut Import v0.1.0
Pre-release
Pre-release
中文
Editor Shortcut Import 0.1.0 是从 Lithe 主程序拆出的第一个独立版本,为 Lithe 的「导入 IDE 设置」提供 VS Code 和 IntelliJ IDEA 快捷键来源。
下载
功能
- 读取 VS Code、VS Code Insiders 和 Cursor(含 Profile)的
keybindings.json。 - 读取 IntelliJ IDEA 的
options/keymap.xml和选中的keymaps/*.xml,支持$default、Mac OS X、Mac OS X 10.5+内置方案及有界的自定义继承。 - 只映射 Lithe 已有且语义一致的命令;条件规则、连续按键和移除规则不会变成全局快捷键。
- 插件只读取用户在预览里选中的来源,由 Lithe 提供短期只读快照,插件拿不到任意路径。
- 每次导入由 SDK 在 Lithe 日志窗口的
plugins/io.github.lithe-idea.editor-keymap-import/host通道记录一条结果(成功 INFO,失败 ERROR),不含快捷键内容和路径。
安装
- 下载上面的 zip,核对 SHA-256。
- 在 Lithe 中打开 设置 → 插件,点右上角 ⚙,选择 从磁盘安装插件…,选中 zip,确认权限后安装。
- 打开 导入 IDE 设置(首次启动页或设置页里的入口),点 重新扫描,在预览里勾选 键盘快捷键 后导入。
插件请求三项权限:backend.launch(运行插件自带的解析程序)、keymaps.provide(向 Lithe 提供快捷键来源)、keymaps.readSelectedSources(读取你选中来源的只读快照)。
兼容性与已知问题
- 这是预发布版本,暂不收录在 Lithe Store。需要支持插件诊断日志(litheLogging 1)且不再内置快捷键导入插件的 Lithe preview 开发版;当前稳定版 Lithe 无法启动本插件。
- 如果你的 Lithe 仍内置 Editor Shortcut Import,再安装本插件会出现两个提供方,导入时提示「多个插件都可以从此来源导入快捷键」。请使用不再内置该插件的 Lithe。
- 仅支持 macOS。IDEA 和 VS Code 的其他版本、非美式键盘布局仍需更多验收。
- 此包没有 Lithe 发布者签名;后端只有 ad hoc 签名,不代表发布者认证。安装后的插件包在运行时保持只读。
English
Editor Shortcut Import 0.1.0 is the first standalone release after the plugin moved out of the Lithe app. It adds VS Code and IntelliJ IDEA shortcut sources to Lithe's Import IDE settings.
Downloads
Features
- Reads
keybindings.jsonfrom VS Code, VS Code Insiders and Cursor, including profiles. - Reads IntelliJ IDEA's
options/keymap.xmland the selectedkeymaps/*.xml, with the built-in$default,Mac OS XandMac OS X 10.5+keymaps and bounded custom inheritance. - Maps only commands that Lithe has with the same meaning. Conditional bindings, chords and removals never become global shortcuts.
- The plugin reads only the source you select in the preview, through a short-lived read-only snapshot from Lithe; it never receives arbitrary paths.
- The SDK records one result per import in Lithe's log window on channel
plugins/io.github.lithe-idea.editor-keymap-import/host(INFO on success, ERROR on failure), without shortcut content or paths.
Install
- Download the zip above and check its SHA-256.
- In Lithe, open Settings → Plugins, click ⚙ at the top right, choose Install Plugin from Disk…, select the zip and confirm the permissions.
- Open Import IDE settings (on the first-launch page or in Settings), click Scan again, select Keyboard shortcuts in the preview and import.
The plugin requests three permissions: backend.launch (run the bundled parser), keymaps.provide (offer shortcut sources to Lithe) and keymaps.readSelectedSources (read the snapshot of the source you select).
Compatibility and known issues
- This is a pre-release and is not listed in Lithe Store yet. It needs a Lithe preview build that supports plugin diagnostics (litheLogging 1) and no longer bundles shortcut import. The current stable Lithe cannot start this plugin.
- If your Lithe still bundles Editor Shortcut Import, installing this plugin gives two providers, and import reports that more than one plugin can import shortcuts from the source. Use a Lithe build without the bundled copy.
- macOS only. Other IDEA and VS Code versions and non-US keyboard layouts need more acceptance testing.
- This package has no Lithe publisher signature. The backend has an ad hoc signature only, which is not publisher authentication. The installed package stays read-only at runtime.
SHA-256:
editor-keymap-import-0.1.0-darwin.zip f34ef48ea4e30103dbe96b590ed70515ef3e3f43d04e7a9e757d891a2ce8094b