moe
A command lined based text editor
Summary
| Latest Version | 0.5.0 |
|---|---|
| License | GPLv3 |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-11-19 13:58 |
Tags
Authors
- fox0430
Installation
nimble install moe
choosenim install moe
git clone https://github.com/fox0430/moe
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| moe | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 2.0.10 | No |
| results >= | 0.5.1 | No |
| celina >= | 0.16.0 | No |
| parsetoml >= | 0.7.1 | No |
| chronos >= | 4.2.2 | No |
| stew >= | 0.2.0 | No |
| editorconfig >= | 0.1.1 | No |
| regex >= | 0.26.1 | No |
| jsony >= | 1.1.6 | No |
| https://github.com/elcritch/matter >= | 0.6.0 | No |
Source
| Repository | https://github.com/fox0430/moe |
|---|---|
| Homepage | https://github.com/fox0430/moe |
| Registry Source | nimble_official |
README
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.

Features
-
Written in Nim
-
Selectable buffer backend ( >= 0.5.0 )
- GapBuffer
- Sqrt Decomposition
- Rope (B-tree)
-
Piece Table (RB-Tree)
-
UTF-8 and other encodings support (Incomplete)
-
Vim like mode (Normal, Insert, Visual, Replace, Command, Filer, etc...)
-
Vim like keybinds
-
Undo/redo
-
Syntax highlighting:
- C, C++
- C#
- Go
- Haskell
- HTML
- Java
- JavaScript/JSX
- JSON/JSONC
- LaTeX
- Lisp
- Lua
- Markdown/R Markdown
- Nim
- Python
- Rust
- Shell languages:
- Bash
- Fish
- Zsh
- Tcl
- TOML
- TypeScript/TSX
- Vimscript
- XML
- YAML
-
Others: Astro, Dockerfile, Hyprland, Log files
-
Auto-completion
-
Configuration file (TOML)
-
Configuration mode (UI)
-
Tab line
-
Indentation lines
-
Highlight current words
-
Highlight/Delete trailing spaces
-
Auto close/delete paren
-
Simple auto indent
-
Incremental search
-
Auto save
-
Suggestions in Command mode
-
TrueColor (24bit color)
-
VSCode themes
-
Build on save
-
QuickRun
-
Automatic backups
-
Vim like register
-
Git support
-
Bookmarks
-
Syntax checker
-
Nim
-
EditorConfig support
-
Macros
-
Terminal ( >= 0.5.0 )
-
Language Server Protocol (WIP)
-
Completion
-
Diagnostics
-
Signature Help
-
Inlay Hints
-
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
-
Snippets
-
Spell checker
-
Edit files over ssh
-
Fuzzy search
-
Plugin system
-
Supports huge file
Install
We recommend Linux environments.
Requires
-
Nim 2.0.10 or higher
-
xclip v0.13 or higher (Option on GNU/Linux)
-
xsel (Option on GNU/Linux)
-
wl-clipboard (Option on GNU/Linux)
Version <= 0.4.0 (Ncurses base)
- Ncurses 6.1 or higher
nimble install moe
Check detail
Version >= 0.5.0 (Celina base)
# Latest developmental state inside Github repository
nimble install moe@#head
Check detail
Usage
The index.md and configfile.md in the Ncurses base documents link to the develop branch, which describes the Celina base. Open the files from the list above instead, and use the v0.4.0 example configuration.
Embedding Moe
Build non-terminal frontends with -d:moe.embedded and import
moepkg/frontend. Embedded mode keeps Moe's editor engine and frontend-neutral
input API available on Windows, while disabling Moe-owned clipboard integration
by default. It also excludes Moe's terminal state, handler, renderer, and POSIX
PTY backend from the build, and imports only Celina's platform-neutral value
types instead of its POSIX terminal runtime. The embedding frontend owns the
native clipboard and terminal UI; terminal commands report that the mode is
unavailable.
See Git updates in embedding frontends for how Moe and the host share Git status work.
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