Skip to content

Commit

Permalink
1. 优化readme说明
Browse files Browse the repository at this point in the history
  • Loading branch information
林通 committed Aug 19, 2020
1 parent 03bbe3f commit 0fd204b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ cd fastfind_maxos && sh install.sh

### 使用方法

#### shell模式
```shell script
./fastfind
```
在shell模式下,输入exit退出
![Xnip2020-08-19_16-28-25.jpg](images/Xnip2020-08-19_16-28-25.jpg)

#### 全屏模式
```shell script
./fastfind --full=true
```
fastfind有三个区域,输入区和展示区和历史命令区。

在终端输入fastfind后界面如下:
Expand All @@ -33,15 +44,21 @@ fastfind有三个区域,输入区和展示区和历史命令区。
支持历史记录,使用左右方向键在展示区和历史命令区跳转,上下键选择。


对于小屏幕的设备,可以使用简短模式
```shell script
./fastfind --full=true --short=true
```
![Xnip2020-08-19_16-30-18.jpg](images/Xnip2020-08-19_16-30-18.jpg)


### 快捷键

* 快捷键

ctrl + r: 更新记录文件后热加载

Esc: 快速清空输入区



### 记录文件

fastfind会从~/.files目录下读取全部的记录文件,记录文件以特殊的符号标识出不同的段落,每个文件内容具体如下:
Expand Down
Binary file added images/Xnip2020-08-19_16-28-25.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Xnip2020-08-19_16-30-18.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0fd204b

Please sign in to comment.