PTEXT(1)

πŸ“¦ version 0-unstable-2024-08, in nixos 26.05, nixpkgs unstable

πŸ’… 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 πŸ’œ


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