mille

command module
v0.0.0-...-a31d3c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 10 Imported by: 0

README

mille

mille is a toy text editor in less than 1K lines of code (not including test codes). It aims to be simple, readable codes, but works great. This project is inspired by https://github.com/antirez/kilo. Moreover, mille doesn't depend on any external library.

demo

Features

  • Less 1K code bases
  • No External Libraries.
  • Implement Gap Buffer

Editor Features

  • Open file
  • Create file
  • Save file
  • Edit file
  • Go syntax highlighting

Install

If you already installed go, Please type below in your terminal.

go get -u github.com/ad-sho-loko/mille

Usage

Run

mille <filename>

Keys

Key Description
Ctrl-H Backspace
Ctrl-A Move Caret to Line Start
Ctrl-E Move Caret to Line End
Ctrl-P Up
Ctrl-F Right
Ctrl-N Down
Ctrl-B Left
Ctrl-S Save
Ctrl-C Close

Feature works

  • UTF8
  • Search/Replace
  • Copy/Paste
  • Undo/Redo

Author

Shogo Arakawa (ad.sho.loko@gmail.com)

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL