Skip to content
项目

关于

A nano like text editor built with pure C

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文


ptext logo
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🙈:

https://github.com/proh14/ptext/assets/95998030/08ee068b-fe9b-4d3f-b3e4-49d3a66855d5

How to install⬇️:

  1. Clone this repo.
git clone https://github.com/proh14/ptext.git
cd ptext
  1. Run make inside this repo's main directory.
make
  1. go to build directory
cd build
  1. 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🥅:

  1. Add visual mode (Selecting, copy selection, paste selection, delete selection).
  2. Fix replace.
  3. Add keyboard configuration(like bind-key CTRL_X exit).
  4. Add syntax highlighting configuration.
  5. Add file browser mode.
  6. Add shell mode.
  7. Add a self contained help-system.
  8. Add vertical and horizontal split.
  9. Add VI mode.
  10. 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🙏:

  1. viewsourcecode
  2. kilo

探索相关项目

加载中…