Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ginqi7/deno-bridge-jieba
deno-bridge-jieba
https://github.com/ginqi7/deno-bridge-jieba
Last synced: 7 days ago
JSON representation
deno-bridge-jieba
- Host: GitHub
- URL: https://github.com/ginqi7/deno-bridge-jieba
- Owner: ginqi7
- Created: 2022-10-27T06:27:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T10:45:43.000Z (5 months ago)
- Last Synced: 2024-08-02T18:40:36.209Z (3 months ago)
- Language: Emacs Lisp
- Size: 1.68 MB
- Stars: 24
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+title: Deno bridge jieba
#+author: Qiqi Jin
#+language: en* 简介
得益于 Deno-bridge 对 Emacs 便捷、强大的扩展能力。基于:- [[https://github.com/manateelazycat/deno-bridge][deno-bridge]]
- [[https://github.com/wangbinyq/deno-jieba/tree/wasm][deno-jieba]]实现的 Emacs 的中文分词,能够更加方便、准确的进行中文编辑与移动。
* Prerequisites
首先需要按照 [[https://github.com/manateelazycat/deno-bridge][deno-bridge]] 的要求,按照必须的 Deno, Websocket 和 deno-bridge** Download deno-bridge-jieba
在你自己的emacs配置文件目录中克隆项目,例如:#+begin_src sh
git clone [email protected]:ginqi7/deno-bridge-jieba.git ~/.emacs.d/lisp/deno-bridge-jieba
#+end_src更新下载依赖的 submodule `deno-jieba`
#+begin_src sh
git submodule update --init --depth 1
#+end_src** add the path to ‘load-path
#+begin_src sh
(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp/d/lisp/deno-bridge-jieba"))
#+end_src* Example
#+HTML:
* Command
| 按键名 | Action |
|--------------------------------------+------------------------|
| deno-bridge-jieba-forward-word | 向前移动一个中英文单词 |
| deno-bridge-jieba-backward-word | 向后移动一个中英文单词 |
| deno-bridge-jieba-kill-word | 删除光标后的一个中英文单词 |
| deno-bridge-jieba-backward-kill-word | 删除光标前的一个中英文单词 |
| deno-bridge-jieba-mark-word | 选中光标下的一个中英文单词 |* 相关项目
- [[https://github.com/xuchunyang/chinese-word-at-point.el][chinese-word-at-point.el]]
- [[https://github.com/tumashu/pyim][pyim]]
- [[https://github.com/cireu/jieba.el][jieba.el]]