|
|
|
# lite
|
|
|
|
![screenshot](preview.png)
|
|
|
|
|
|
|
|
A lightweight text editor written in Lua
|
|
|
|
|
|
|
|
* **[Get started](doc/usage.md)** — A quick overview on how to get started
|
|
|
|
* **[Get plugins](https://github.com/rxi/lite-plugins)** — Add additional
|
|
|
|
functionality
|
|
|
|
* **[Get color themes](https://github.com/rxi/lite-colors)** — Add additional colors
|
|
|
|
themes
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
lite is a lightweight text editor written mostly in Lua — it aims to provide
|
|
|
|
something practical, pretty, *small* and fast, implemented as simply as
|
|
|
|
possible; easy to modify and extend, or to use without doing either.
|
|
|
|
|
|
|
|
## Customization
|
|
|
|
Additional functionality can be added through plugins which are available from
|
|
|
|
the [plugins repository](https://github.com/rxi/lite-plugins); additional color
|
|
|
|
themes can be found in the [colors repository](https://github.com/rxi/lite-colors).
|
|
|
|
The editor can be customized by making changes to the
|
|
|
|
[user module](data/user/init.lua).
|
|
|
|
|
|
|
|
## Building
|
|
|
|
You will need:
|
|
|
|
- Lua 5.2 and libraries
|
|
|
|
- SDL2
|
|
|
|
- A c11 compiler (gcc or clang)
|
|
|
|
- make
|
|
|
|
|
|
|
|
To build run `make`, to install `make install` with root privileges and to
|
|
|
|
uninstall `make uninstall` also with root privileges.
|
|
|
|
To clean the mess run `make clean`.
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
Any additional functionality that can be added through a plugin should be done
|
|
|
|
so as a plugin, after which a pull request to the
|
|
|
|
[plugins repository](https://github.com/rxi/lite-plugins) can be made. In hopes
|
|
|
|
of remaining lightweight, pull requests adding additional functionality to the
|
|
|
|
core will likely not be merged. Bug reports and bug fixes are welcome.
|
|
|
|
|
|
|
|
## License
|
|
|
|
This project is free software; you can redistribute it and/or modify it under
|
|
|
|
the terms of the MIT license. See [LICENSE](LICENSE) for details.
|