jnv v0.6.0 ntroduces some important features that enhance the user experience.
## Configuration
With this release, jnv now supports customization of various features using a TOML format configuration file. This feature allows users to adjust jnv's behavior and appearance according to their preferences.
### Configuration File Location
The configuration file is loaded in the following order of priority:
1. Path specified on the command line (`-c` or `--config` option) 2. Default configuration file path
The default configuration file location for each platform is as follows:
If the configuration file does not exist, it will be automatically created on first run.
### Customizable Settings
The configuration file allows you to customize items such as:
- Toggle hint message display - UI reactivity (debounce times and animation speed) - Editor appearance and behavior - JSON viewer styling - Completion feature display and behavior - Keybinds
For detailed configuration options, please refer to default.toml ttps://github.com/ynqa/jnv/blob/main/default.toml.
## Default Filter (--default-filter)
A new command-line option `--default-filter` has been added, allowing you to specify a default jq filter to apply to the input data. This filter is applied when the interface is first loaded.
# Apply a filter to data from standard input cat data.json jnv --default-filter '.users | map(.name)' ```
This feature improves productivity, especially when you have frequently used filter patterns or when you want to quickly access specific parts of large JSON data.