Skip to content

0.93.0

Latest
Compare
Choose a tag to compare
@amtoine amtoine released this 01 May 08:00
· 10 commits to main since this release
0.93.0
15d8701

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 and G

Note

  • in the bullet points above, <nnn> indicates a number, e.g. 2 or 123
  • all of them are configurable

Configuration

PRs: #48, #49

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