Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/raphaelpour/femto

Editor
https://github.com/raphaelpour/femto

Last synced: 18 days ago
JSON representation

Editor

Awesome Lists containing this project

README

        

# Femto [![Build Status](https://travis-ci.com/RaphaelPour/femto.svg?branch=master)](https://travis-ci.com/RaphaelPour/femto)

CLI Text-Editor in Vanila C.

## Contents

- [Setup](#setup)
- [Usage](#usage)
- [Key bindings](#key-bindings)
- [License](#license)

## Setup

Gcc and [Tonobo's Task](https://github.com/tonobo/task) are required. `task bin` will build it to `ci-build`.

## Usage

```
Usage:
femto New file
femto {file} Open file
femto -h | --help Show help
femto -v | --version Show version

Enable logging by setting environment variable `FEMTO_DEBUG`.
```

## Key bindings

| Key | Description |
|--------------|--------------------------------|
| `Arrow keys` | Navigation |
| `ENTER` | New line |
| `BACKSPACE` | Remove char/line before cursor |
| `DELETE` | Remove char/line after cursor |
| `ESC` | Quit |
| `Ctrl+S` | Save |

## License

[GPLv3](https://www.gnu.org/licenses/gpl-3.0.html)