PTEXT(1)
π PTEXT(1) π
okay so this is the man page for ptext, and it lives in the General Commands Manual section of your friendly neighbourhood Unix box. grab a snack, bestie, we're learning an editor π
β¨ NAME β¨
ptext β a nano-like text editor built with pure C. that's right, pure C, no cap π
πΈ SYNOPSIS πΈ
ptext [options] [file]
π¦ DESCRIPTION π¦
ptext is a small text editor β and when I say small I mean it, it's based on kilo β and it edits file. that's the whole vibe. it opens, you type, it's giving "less is more" and honestly? slay π
π OPTIONS π
-v,--versionβ prints out the version info and then dips, like, immediately exits. iconic behaviour, no follow-up questions β¨
π EDITING π
editing a file here is genuinely easy, bestie. you start the editor and then you literally just... start typing the letters you want. that's it. that's the tutorial π«Ά
you can move around with the arrow keys, and you can delete characters with the backspace key or the delete key. lowkey the whole thing just works π
π KEY BINDINGS π
okay this is the important part, screenshot this, iykyk πΈ
- Ctrl+Q β exit
ptext. bye bestie π - Ctrl+S β write the currently open file to the disk. save your work fr fr πΎ
- Ctrl+F β search inside the currently open file π
- Ctrl+R β search and replace inside the currently open file. glow-up your typos β¨
- Ctrl+A β jump to the beginning of the line β¬ οΈ
- Ctrl+E β jump to the end of the line β‘οΈ
- Ctrl+U β jump to the first line of the currently open file β¬οΈ
- Ctrl+D β jump to the last line of the currently open file β¬οΈ
- Ctrl+X β delete the whole line the cursor is sitting on. no thoughts, line gone π
- Ctrl+N β enter an editor command β¨οΈ
- Ctrl+B β move to the previous buffer π§
- Ctrl+O β move to the next buffer π§
π BUGS π
found a bug? (rude, but okay π) report it at https://github.com/proh14/ptext/issues and the devs will handle it π«Ά
π AUTHOUR π
mainly developed by proh14. you can see the other contributers on the github page at https://github.com/proh14/ptext. also, real talk, this program is based on kilo, which is developed by antirez π
β COPYRIGHT β
BSD 2-Clause License β that's the whole section, bestie π
πΈ HOMEPAGE πΈ
https://github.com/proh14/ptext β go say hi π¦
π SEE ALSO π
ptextrc(5) β yes, there's a whole other page for the config, go read it π
lowkey the most important thing on this page: Ctrl+S saves. everything else is just vibes π₯
that's the whole page, bestie! this edition landed on LINUX, dated 2024-1-24, and it's the PTEXT(1) page from the General Commands Manual. now go edit something cute πβ¨π
π¦ where this page comes from
- nixos 26.05: ptext 0-unstable-2024-08-19
- nixpkgs unstable: ptext 0-unstable-2024-08-19
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms