Skip to content

Commit

Permalink
docs: Version code updated && README.md updated
Browse files Browse the repository at this point in the history
  • Loading branch information
BHznJNs committed Sep 13, 2023
1 parent 21dfa09 commit ce41d5e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rusditor"
version = "0.2.1"
version = "0.3.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ A simple text editor runs on terminals.
| --- | --- |
| Ctrl + s | Open / Close file saving component |
| Enter (When file-saver opened) | Write file |
| Ctrl + g | Open / Close positioner component |
| Enter (When positioner opened) | Jump to target position |
| Ctrl + f | Open / Close finder component |
| Enter (When finder opened) | Jump to next matches target |
| Shift + Enter (When finder opened) | Jump to previous matches target |
| Esc | Restore to normal mode (not in normal mode) / Exit program (in normal mode) |
5 changes: 5 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@
| --- | --- |
| Ctrl + s | 开启 / 关闭 文件保存组件 |
| Enter (当文件保存组件启用时) | 写入文件 |
| Ctrl + g | 开启 / 关闭 定位组件 |
| Enter (当定位组件启用时) | 跳转到指定位置 |
| Ctrl + f | 开启 / 关闭 查询组件 |
| Enter (当查询组件启用时) | 跳转到下一个匹配的文本位置 |
| Shift + Enter (当查询组件启用时) | 跳转到上一个匹配的文本位置 |
| Esc | 恢复编辑模式 (当处于非编辑模式) / 退出程序 (当处于编辑模式) |

0 comments on commit ce41d5e

Please sign in to comment.