MP-5(1)
π NAME π
mp-5 β Minimum Profit Editor, literally a text editor for programmers β¨
(Marketing name: Minimum Profit, nn mp for short. Say it with me: em-pee-five. Iconic. π
πΈ SYNOPSIS πΈ
mp-5 [options] [+NNN] [file [file...]]
π¦ DESCRIPTION π¦
Okay so bestie, Minimum Profit (mp) is a text editor for programmers, and it is giving main character energy. Here's the vibe check on what it brings to the group chat:
- Fully scriptable using a C-like scripting language. Yes. It's that girl. π
- Unlimited undo levels. No cap β you literally cannot run out of oops-ies. π
- Complete Unicode support. All the emoji, all the scripts, all of it. π
- Multiple files can be edited at the same time and blocks copied and pasted among them. Multitasking queen behavior. π
- Syntax highlighting for many popular languages / file formats: C, C++, Perl, Shell Scripts, Ruby, Php, Python, HTML... she knows them all, she's not picking favorites (jk she is). β¨
- Creative use of tags: tags created by the external utility
ctagsare used to move instantaneously to functions or variables inside your current source tree. Like teleportation but for code. π§ Tags are visually highlighted (underlined), and symbol completion can be triggered to avoid typing your own function names over and over. Your wrists will thank you, fr fr. π«Ά - Intelligent help system: pressing F1 over any word of a text being edited triggers the underlying system help (calling
manwhen editing C or Shell files,perldocwith Perl,rion Ruby,winhelpon MS Windows...). She just knows things. π - Understandable interface: drop-down menus, reasonable default key bindings. No mysterious arcane rituals required. π
- Configurable keys, menus and colors. Make it yours. π
- Text templates can be easily defined / accessed. β¨
- Multiplatform: Console (curses and ANSI), Qt4, GTK+, KDE4, MS Windows. Everywhere. She's everywhere. π
- Automatic indentation, word wrapping, internal grep, learning / repeating functions. π₯
- Spellchecking support (via the
ispellpackage). π - Multilingual. πΈ
- Password-protected, encrypted text files (using the ARCFOUR algorithm). Secretive. Mysterious. Locked down. π
- It helps you abandon
vi,emacsand other six-legged freaks definitely. π periodt.
β¨ OPTIONS β¨
The following options are available (oh and btw the original page spells it "avaiable" β we don't gatekeep typos here, love that for her π«Ά):
-ttag β Edits the file where tag is defined (seectags(1)). Jump straight to the spot, no scrolling bestie. π¦-empsl_code β Executes MPSL code. Run it right there. π-fmpsl_script β Executes an MPSL script. Whole file of it. β¨-ddirectory β Changes working directory. A little relocation moment. π-xfile β opens file in the hexadecimal viewer. Hex mode! Very demure, very binary. π
Plus, not technically a flag but on the list:
- NNN β Moves to line number NNN of last file. (That's the
+NNNfrom the synopsis, iykyk.) β
π§ MPSL π§
MPSL (Minimum Profit Scripting Language) is a powerful programming language embedded in the Minimum Profit Text Editor (a huge part of the editor itself is written in MPSL β she wrote herself, that's so meta π). Its features are too large to be inserted here; please read the documentation. Fr, go read it. It's worth it. ππ
π AUTHOR π
Minimum Profit has been written by Angel Ortega <angel@triptico.com> with the help of others (see the AUTHORS file for a complete list). Shoutout to the whole squad. π«Άπ
π FILES π
/etc/mp.mpsl(system-wide configuration file). π~/.mp.mpsl(user configuration file). π~/.mp_templates(user text templates). β¨
π ENVIRONMENT VARIABLES π
HOME(user home directory). πLANG,LC_ALL(language settings). π£οΈ
π SEE ALSO π
The Minimum Profit documentation in /usr/share/doc/mp-5.
AUTHORS, TODO, RELEASE_NOTES and README.
Home page: http://triptico.com/software/mp.html π
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. π
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Yeah, no promises, bestie. π«Ά
See the GNU General Public License for more details.
Okay that's the whole page, mwah π β this was Minimum Profit(1), straight from the General Commands Manual, and the last vibe check was stamped Mon Feb 26 18:12:30 2018. Slay, go edit some code. πΈβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: mp 5.2.13-bp160.1.13 Β· GPL-2.0
- opensuse-leap 16.0: mp 5.2.13-bp160.1.13 Β· GPL-2.0
- opensuse-leap 16.0: mp 5.2.13-bp160.1.13 Β· GPL-2.0
- opensuse-leap 16.0: mp 5.2.13-bp160.1.13 Β· GPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms