Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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