New features
Near-table warning
PR: #30
when a list of records contains non-homogeneous rows, e.g. [{a: 1, b: 2}, {b: 3}]
is missing the key $.a
in the second row, nu_plugin_explore
won't show it as a table with a whole but rather as follows, i.e. a list of non-homogeneous records
{ 2 fields } record
{ 1 field } record
now, nu_plugin_explore
will add a warning at the bottom of the interface telling what the issue is with the near-table, e.g. here
row $.1 has incompatible length with first row: expected 2 found 1
Motion repetitions
PR: #44
akin to Vim, it is now possible to use some motion repetition in nu_plugin_explore
- jump to any line in the data with
<nnn>g
- jump a given amount of lines up or down with
<nnn>j
or<nnn>k
- jump half pages with
<c-d>
and<c-u>
- go to the top or the bottom of the data with
g
andG
Note
- in the bullet points above,
<nnn>
indicates a number, e.g.2
or123
- all of them are configurable
Configuration
Some new configuration have been added
- margin: this will make sure there are always some lines between the cursor and the top / bottom of the data
- line numbers: this allows to show the line numbers of the data to the left of the interface, either absolute numbers or relative to the cursor
Edit
PR: #56
With this release and the new nuon
crate, nu_plugin_explore
now supports editing anything that can be turned back and forth into NUON with the edit key.
Full changelog
- 9f3a25b Fix panic on Mac from
crossterm::event::poll
(#38) - 84f525f update the
Makefile
(#42) - bf44d75 check
Cargo.lock
in the CI (#43) - c50c9b1 add a warning when a near-table is detected (#30)
- 22f2531 bump to include foreground patch (#41)
- 2894ed7 add support for motion repetition (#44)
- 709e72a test the default config (#46)
- 8127632 add missing configuration (#47)
- 763aba0 add vertical margin (#48)
- 8906b4a show line numbers to the side (#49)
- 1d98577 make sure the bottom of the data stays at the bottom (#51)
- 762bc89 fix goto line (#52)
- 5ab7311 bump to
0.92.3-c06ef201b72b3cbe901820417106b7d65c6f01e1
(#53) - 98a0c85 cleanup the repo (#54)
- e68d347 allow editing any Nushell
Value
(#56) - 92db4f3 update and fix the UI (#57)
- 76ebe69 use the new
nuon::to_nuon
API (#58) - 6dba4bb bump to
0.92.3-2595f31541554c6d8602ebebc9dffbc4dd29dd89
(#59) - cf8c76a remove
console
from the dependencies (#62) - 15d8701 Fix TUI channel panics (#63)