Skip to content

fox0430/moe

Repository files navigation

moe

A command line based editor inspired by Vim written in Nim.

This project's goals are easily customizable, high productivity, user friendly, and high performance editor.

moe

Features

  • Written in Nim

  • Adopt GapBuffer

  • UTF-8 and other encodings support (Incomplete)

  • Vim like mode (Normal, Insert, Visual, Replace, Ex, Filer)

  • Vim like keybinds

  • Infinite undo/redo

  • Syntax highlighting:

    • C
    • C++
    • C#
    • Haskell
    • Java
    • JavaScript
    • Markdown
    • Nim
    • Python
    • Rust
    • Shell languages:
      • Bash
    • TOML
    • YAML
    • JSON
  • Auto-complete

  • Configuration file (TOML)

  • Configuration mode

  • Live reload of the configuration file

  • Vertical/Horizontal split window

  • Tab line

  • Indentation lines

  • Auto close/delete paren

  • Simple auto indent

  • Incremental search

  • Auto save

  • Suggestions in ex mode

  • TrueColor (24bit color)

  • VSCode themes

  • Build on save

  • Multiple status line

  • QuickRun

  • Automatic backups

  • Highlight current words

  • Highlight/Delete trailing spaces

  • Vim like register

  • Git support

  • Syntax checker

    • Nim
  • Macros

  • Language Server Protocol (WIP)

    • Completion

    • Diagnostics

    • Signature Help

    • Inlay Hints

    • Inline Value

    • Hover

    • Goto definition

    • Find References

    • Call Hierarchy

    • Document Highlight

    • Document Link

    • Code Lens

    • Document Formatting

    • Rename

    • Semantic Tokens

    • Folding Range

    • Selection Range

    • Document Symbol

Planned features

  • Supports regular expression and PEG

  • Supports EditorConfig

  • Window management

  • Snippets

  • Spell checker

  • Terminal

  • Select data structures

  • Edit files over ssh

  • Fuzzy search

  • Plugins

  • Supports huge file

  • Funny animation...

Install

We recommend Linux environments.

Requires

# Latest developmental state inside Github repository
nimble install moe@#head

Check detail

Usage

Documents (Latest)

Documents (Release)

The origin of the name

moe is a recursive acronym for "moe is an optimal editor".
And one more, it comes from the Japanese slang 萌え(moe).

Contributing, bug reports, feature request

Welcome❤

Community

Ask me anything!

License

GNU General Public License version 3