ptext is a text editor based on kilo.
My goal in making this was to learn more about managing tui interfaces not using ncurses.
preview.mp4
- Clone this repo.
git clone https://github.com/proh14/ptext.git
cd ptext
- Run
make
inside this repo's main directory.
make
- go to build directory
cd build
- run ptext!
./ptext <filename>
OR to install you may run the command
sudo make install
then restart your shell and run
ptext <file name>
to start the editor.
- To exit you can press CTRL + q
- To save you can press CTRL + s
- To search you can press CTRL + f
- To search & replace you can press CTRL + r
- To goto the start of the line you can press CTRL + a
- To goto the end of the line you can press CTRL + e
- To goto the start of the file you can press CTRL + u
- To goto the end of the file you can press CTRL + d
- Fix syntax highlighting.
- Add a plugin system.
- Add windows.
- Add utf support.
- Read the terminfo database.
This is still a work in progress project!
I appreciate contributions but first of all, you must read the
Read the CONTRIBUTING.md Then you can send your pr!