Skip to content

Commit b0ab1be

Browse files
authored
explore: cleanup params/flags and add more keybindings (#1652)
* `explore`: cleanup params/flags and add more keybindings * `commands\docs\explore.md` revert change --------- Co-authored-by: paulie4 <[email protected]>
1 parent fe96121 commit b0ab1be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

book/explore.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Explore is a table pager, just like `less` but for table structured data.
88

99
### Parameters
1010

11-
- `--head {boolean}`: turn off column headers
12-
- `--index`: show row indexes (by default it's not showed)
13-
- `--reverse`: start from the last row
14-
- `--peek`: returns a last used value, so it can be used in next pipelines
11+
- `--head {bool}`: Show or hide column headers (default true)
12+
- `--index, -i`: Show row indexes when viewing a list
13+
- `--tail, -t`: Start with the viewport scrolled to the bottom
14+
- `--peek, -p`: When quitting, output the value of the cell the cursor was on
1515

1616
## Get Started
1717

@@ -23,7 +23,7 @@ ls | explore -i
2323

2424
So the main point of [`explore`](/commands/docs/explore.md) is `:table` (Which you see on the above screenshot).
2525

26-
You can interact with it via `<Left>`, `<Right>`, `<Up>`, `<Down>` _arrow keys_.
26+
You can interact with it via `<Left>`, `<Right>`, `<Up>`, `<Down>` _arrow keys_. It also supports the `Vim` keybindings `<h>`, `<j>`, `<k>`, and `<l>`, `<Ctrl-f>` and `<Ctrl-b>`, and it supports the `Emacs` keybindings `<Ctrl-v>`, `<Alt-v>`, `<Ctrl-p>`, and `<Ctrl-n>`.
2727

2828
You can inspect a underlying values by entering into cursor mode. You can press either `<i>` or `<Enter>` to do so.
2929
Then using _arrow keys_ you can choose a necessary cell.

0 commit comments

Comments
 (0)