mg is a Micro Emacs derivative. It’s a portable version of mg maintained by the OpenBSD team.
mg is intended to be a small, fast, and portable editor for people who can’t (or don’t want to) run Emacs for one reason or another, or are not familiar with the vi editor, or other editors. mg is compatible with Emacs.
When a file is loaded into mg, it is stored in a buffer. This buffer may be displayed on the screen in more than one window. At present, windows may only be split horizontally, so each window is delineated by a modeline at the bottom. If changes are made to a buffer, it will be reflected in all open windows.
Multi-byte character sets, such as UTF-8, are not supported.
Key Features
- Supports tag files created by ctags, allowing the user to quickly locate various object definitions. Emacs uses etags, not ctags.
- Supports navigating source code using cscope.
- Normal editing commands are very similar to Emacs.
Website: github.com/troglobit/mg
Support: Alternative Fork – GitHub Code Repository
Developer: Dave Conroy (original author), Bob Larson, Mic Kaczmarczik, Mike Meyer, Sandra Loosemore, Michael Portuesi, Stephen Walton, Marion Hakanson, and many contributors
License: Free and unencumbered software released into the public domain

mg is written in C. Learn C with our recommended free books and free tutorials.
Since mg is written completely in C, there is currently no language in which extensions can be written; however, keys can be rebound and certain parameters can be changed in startup files.
Related Software
| Emacs-like Text Editors | |
|---|---|
| TeXmacs | High quality scientific word processor and typesetting program |
| vile | Combines aspects of the Emacs and vi editors |
| Zile | Customizable, self-documenting real-time display editor |
| Remacs | Community-driven port of Emacs to Rust |
| JOE | Joe's Own Editor with no code used from Emacs |
| Textbringer | Emacs-like text editor written in Ruby |
| QEmacs | Small but powerful UNIX editor |
| mg | Small, fast, and portable Emacs-like editor |
| ce | Small, fast, Emacs-like text editor |
| JOVE | Jonathan's Own Version of Emacs. Supports many ancient systems |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

