#key #file #keybind #jedit

app jedit

Command-line tool to view and edit large JSON file

2 releases

Uses new Rust 2024

new 0.1.1 May 10, 2025
0.1.0 May 10, 2025

#3 in #keybind

MIT license

115KB
3K SLoC

Jedit

CI Dependabot Latest Release License: MIT

Jedit is a command-line tool to view and edit large JSON file directly within your terminal.

screenshot

Installation

To install Jedit, ensure you have Rust installed, then run:

git clone https://github.com/aguss787/jedit.git
cd jedit
cargo build --release

Usage

$ jedit --help

View and edit JSON file

Usage: jedit [OPTIONS] <INPUT>

Arguments:
  <INPUT>  JSON file to edit

Options:
  -o, --output <OUTPUT>  Output file to write to. Defaults to overwrite the input file
  -h, --help             Print help

Keybind

Key Action
q Exit
k / Up Up
j / Down Down
l / Enter / Space Expand
Ctrl + u Up 10
Ctrl + d Down 10
g Move to top
G Move to bottom
h Close
p Toggle preview
e Edit value
w Save
K Preview up
J Preview down
Ctrl + U Preview up 5
Ctrl + D Preview down 5
H Preview left
L Preview right
Ctrl + Left Preview window bigger
Ctrl + Right Preview window smaller

Missing feature

  • Custom keybind
  • Search
  • Inline key operation
    • Add new key
    • Delete key
    • Rename key
  • Prettier error message

Dependencies

~12–24MB
~343K SLoC