https://github.com/voldikss/vim-hello-word
一个用来背单词的 (Neo)Vim 插件
https://github.com/voldikss/vim-hello-word
neovim reciteword vim
Last synced: 8 months ago
JSON representation
一个用来背单词的 (Neo)Vim 插件
- Host: GitHub
- URL: https://github.com/voldikss/vim-hello-word
- Owner: voldikss
- Created: 2019-08-08T15:43:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-30T06:07:27.000Z (over 6 years ago)
- Last Synced: 2025-04-09T05:51:11.372Z (about 1 year ago)
- Topics: neovim, reciteword, vim
- Language: Vim script
- Homepage:
- Size: 47.9 KB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-hello-word
一个用来背单词的 (Neo)Vim 工具
## 安装
- vim-plug
```vim
Plug 'voldikss/vim-hello-word'
```
- dein.nvim
```vim
call dein#add('voldikss/vim-hello-word')
```
## 使用
- 多模式出题(选择:英汉&汉英,拼写:汉英)
- 可以导出答错的单词为 json 文件
## 用法
#### **`g:helloword_vocabulary_path`**
词库文件的路径,也可以使用 `:HelloWordSetVocabulary` 进行设置
**注:词库的格式参照[CET6.json](./test/CET6.json)**
#### `:HelloWord`
开始答题
#### `:HelloWordExport`
导出答错的单词为 json 文件
#### `:HelloWordSetVocabulary`
设置词库的路径,可以使用 `` 进行补全,也可以使用 `g:helloword_vocabulary_path` 进行设置
## Screenshots
## License
MIT