Command-Line Interface
$ vimsheet [OPTIONS] [FILE]
Options
Option |
Description |
|---|---|
|
Optional file to open on startup |
|
Show version and exit |
|
Show help message and exit |
|
Run a script file non-interactively |
|
Pipeline mode — read from stdin, write to stdout |
|
Output file for pipeline or script mode |
|
Side-by-side cell diff of two spreadsheet files |
|
Auto-reload the file on change |
|
Override a configuration option (repeatable) |
|
Startup theme (e.g., |
Pipeline Mode
Non-interactive mode reads data from stdin and writes results to stdout:
$ cat data.csv | vimsheet --nocurses --script transform.vsheet
$ cat data.csv | vimsheet --nocurses "=SUM(A:A)" > result.txt
$ vimsheet --nocurses --script my_script.vsheet --output result.xlsx
Diff Mode
Compare two spreadsheet files cell by cell:
$ vimsheet --diff original.xlsx modified.xlsx
Environment Variables
Variable |
Description |
|---|---|
|
Terminal type (for color support) |
|
Color capability hint |
Configuration
VimSheet stores its configuration at ~/.config/vimsheet/config.json.
Override with --set key=value at runtime:
$ vimsheet --set theme=nord --set autocalc=false
Exit Codes
Code |
Meaning |
|---|---|
|
Success |
|
General error |
|
Invalid arguments |