Mazu Editor
Mazu Editor is a minimalist text editor with syntax highlight, copy/paste, and search.
Usage
Command line: (filename
is optional)
- me
<filename>
Supported keys:
- Ctrl-S: Save
- Ctrl-Q: Quit
- Ctrl-F: Find string in file
- ESC to cancel search, Enter to exit search, arrows to navigate
- Ctrl-C: Copy line
- Ctrl-X: Cut line
- Ctrl-V: Paste line
- PageUp, PageDown: Scroll up/down
- Up/Down/Left/Right: Move cursor
- Home/End: move cursor to the beginning/end of editing line
Mazu Editor does not depend on external library (not even curses). It uses fairly standard VT100 (and similar terminals) escape sequences.
Acknowledge
Mazu Editor was inspired by excellent tutorial Build Your Own Text Editor.
License
Mazu Editor is freely redistributable under the BSD 2 clause license. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.