Update docs.md

js-version
Anton Medvedev 6 years ago
parent ef77520f99
commit 3c891babf7

@ -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…
Cancel
Save