https://github.com/jserv/mazu-editor
a minimalist text editor with syntax highlight, copy/paste, and search
https://github.com/jserv/mazu-editor
console-application posix terminal-based text-editor
Last synced: about 1 year ago
JSON representation
a minimalist text editor with syntax highlight, copy/paste, and search
- Host: GitHub
- URL: https://github.com/jserv/mazu-editor
- Owner: jserv
- License: bsd-2-clause
- Created: 2019-04-20T17:21:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T03:03:21.000Z (about 1 year ago)
- Last Synced: 2025-03-30T13:07:46.571Z (about 1 year ago)
- Topics: console-application, posix, terminal-based, text-editor
- Language: C
- Size: 28.3 KB
- Stars: 125
- Watchers: 4
- Forks: 19
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mazu Editor
Mazu Editor is a minimalist text editor with syntax highlight, copy/paste, and search.
## Usage
Command line: (`filename` is optional)
* me ``
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](https://viewsourcecode.org/snaptoken/kilo/).
## 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.