ptext
A nano like text editor built with pure C
C★ 213⑂ 16 forksBSD-2-Clauseupdated 1 year ago
git clone https://github.com/proh14/ptext.gitproh14/ptextREADME.mdfork it — it’s yours
ptext
A nano like text editor built with pure C
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🙈:
preview.mp4
How to install⬇️:
- Clone this repo.
git clone https://github.com/proh14/ptext.git cd ptext
- Run
makeinside this repo's main directory.
make
- go to build directory
cd build
- run ptext!
./ptext <filename>
OR to install you may run the command
make install
then restart your shell and run
ptext <file name>
to start the editor.
Documentation📖:
If you installed ptext (with the make install command) on a *nix system you can simply run
man ptext
to see the maual page of ptext. Otherwise take a look at [./docs](./docs] directory to see the manual in different formats! The markdown version of the manual
Goals🥅:
- Add visual mode (Selecting, copy selection, paste selection, delete selection).
- Fix replace.
- Add keyboard configuration(like
bind-key CTRL_X exit). - Add syntax highlighting configuration.
- Add file browser mode.
- Add shell mode.
- Add a self contained help-system.
- Add vertical and horizontal split.
- Add VI mode.
- Add utf support.
Work in progress⚒️:
This is still a work in progress project!
Contributions💖:
I appreciate contributions but first of all, you must read the
Read the CONTRIBUTING.md Then you can send your pr!
Thank you Stargazers⭐:
Thank you Forkers🍴:
A huge thanks to🙏:
more like this