Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burningtree/ye
Vi(m)-like JSON/YAML editor
https://github.com/burningtree/ye
Last synced: 5 days ago
JSON representation
Vi(m)-like JSON/YAML editor
- Host: GitHub
- URL: https://github.com/burningtree/ye
- Owner: burningtree
- Created: 2015-04-17T04:49:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-20T06:04:11.000Z (over 9 years ago)
- Last Synced: 2023-03-12T01:47:48.713Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
██╗ ██╗███████╗
╚██╗ ██╔╝██╔════╝
╚████╔╝ █████╗
╚██╔╝ ██╔══╝
██║ ███████╗
╚═╝ ╚══════╝
```# ye
Vi(m)-like JSON/YAML editor
## Introduction
### Installation```
$ npm install -g https://github.com/burningtree/ye.git
```### Usage
```
$ ye [options] [file]
```## Help
### Command-mode
#### Move
Action | Key | Binding
---- | ---- | ----
Next key | j or down |
Prev key | k or up |
Children | l or right |
Parent | h or left |
Jump to key | f``Enter |
Next value | w |
Prev value | b |#### Action
Action | Key | Binding
---- | ---- | ----
Delete current node | x |
Change current node | c |
Insert key after | o |#### Others
Action | Key | Binding
---- | ---- | ----
Transformation | =``Enter |
Search | /``Enter |
Enter command | :` [arguments]`Enter
Exit | q or Esc<> |### Available commands
- `:echo`
- `:echoerr`
- `:exit` or `:quit`
- `:pwd` or `:cwd` - current working directory
- `:pos` - current cursor position## TODO
- scrolling
- undo/redo
- Buffers
- stdout input
- JSON Schema integration
- Diff
- Transformations
- windows / screen management
- Templates for popular formats (package.json etc.)## Author
Jan Stránský <>## Licence
MIT