45

GitHub - jserv/mazu-editor: a minimalist text editor with syntax highlight, copy...

 4 years ago
source link: https://github.com/jserv/mazu-editor
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Mazu Editor

Mazu Editor is a minimalist text editor with syntax highlight, copy/paste, and search.

Usage

Command line:

  • me <filename>

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 beginnging/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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK