Little text editor written in C using SDL2.
Report Bug
·
Request Feature
Table of Contents
This is a really simple GUI-based text editor, which is based on the dramatic editor ded, developed by tsoding, a twitch streamer known for recreational programming. As of right now, lightwrite is using his approach of handling file-content. Even though the code for managing files is not exactly the same, lightwrite will at least use the same datastructures.
- Written in plain C.
- lightweight (as the name implies)
If you only want to use lightwrite and not mess with it's source, go ahead an grab one of the avalible releases (preferably the latest).
prepare the release folder (VERSION stands for the version you've downloaded)
tar -xf lightwrite-VERSION.tar.gz && cd lightwrite-VERSION
building
./configure && make
installing
sudo make install
Here you can see how to setup this project locally. Since this project is mainly developed in Linux, Windows build is not yet supported.
- git, autotools, make, gcc
- sdl2, sdl2_ttf
clone the repo and move inside
git clone git@github.com:tim-tm/lightwrite.git && cd breakout
setting up the project
./autogen.sh
building
make -C build
or
cd build && make
Cleanup
./cleanup.sh
Lightwrite is not a vim-like editor (even though I personally prefer such editors).
Keybind | Action |
---|---|
Ctrl+S | Save the current buffer |
Ctrl+Shift+f | Open the filemanager |
Ctrl+a | Create a new file (only in the filemanager) |
Up/Down/Left/Right | Navigating up/down/left/right |
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
SDL2 and SDL2_ttf are both distributed under the zlib license.