mirror of
https://github.com/antonmedv/fx
synced 2024-11-03 15:40:12 +00:00
Update docs.md
This commit is contained in:
parent
ef77520f99
commit
3c891babf7
15
docs.md
15
docs.md
@ -166,6 +166,8 @@ Next commands available in interactive mode:
|
||||
| `up`/`down` or `k/j` | Move cursor up/down |
|
||||
| `left`/`right` or `h/l` | Expand/Collapse |
|
||||
| `.` | Edit filter |
|
||||
| `/` | Search |
|
||||
| `n` | Goto next found pattern |
|
||||
|
||||
These commands are available when editing the filter:
|
||||
|
||||
@ -176,6 +178,19 @@ These commands are available when editing the filter:
|
||||
| `Ctrl`+`w` | Delete last part |
|
||||
| `up`/`down` | Select autocomplete |
|
||||
|
||||
### Search
|
||||
|
||||
Press `/` and type regexp pattern to search in current JSON. Search work with currently applied filter.
|
||||
|
||||
Examples of pattern and corresponding regexp:
|
||||
|
||||
| Pattern | RegExp |
|
||||
|------------|-------------|
|
||||
| `/apple` | `/apple/ig` |
|
||||
| `/apple/` | `/apple/` |
|
||||
| `/apple/u` | `/apple/u` |
|
||||
| `/\w+` | `/\w+/ig` |
|
||||
|
||||
### Selecting text
|
||||
|
||||
You may found what you can't just select text in fx. This is due the fact that all mouse events redirected to stdin. To be able select again you need instruct your terminal not to do it. This can be done by holding special keys while selecting:
|
||||
|
Loading…
Reference in New Issue
Block a user