helix: add Chinese translation (#12088)

pull/23/head
Glitter 2024-01-20 16:20:21 +08:00 committed by GitHub
parent 074d9161ed
commit de6d3395b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 33 additions and 0 deletions

33
pages.zh/common/helix.md Normal file
View File

@ -0,0 +1,33 @@
# helix
> Helix, 一个后现代的文本编辑器,为不同类型的文本操纵提供了几种模式。
> 按 `i` 进入插入模式。按 `<Esc>` 进入正常模式,并且可以使用 Helix 命令。
> 更多信息:<https://helix-editor.com>.
- 打开文件:
`helix {{路径/到/文件}}`
- 更改 Helix 主题:
`:theme {{主题}}`
- 保存并退出:
`:wq<Enter>`
- 强制退出并不保存:
`:q!<Enter>`
- 撤销上次操作:
`u`
- 搜索文件中的关键字(按 `n`/`N` 前往下一个/上一个匹配):
`/{{关键字}}<Enter>`
- 格式化文件:
`:format`