Neditor is an advanced TUI (Text User Interface) text editor written completely in Nitpick. It aims to provide modal editing (like Vim/Neovim) with modern features like syntax highlighting, an extensible plugin system, and fast rendering, entirely inside a terminal environment.
- Modal Editing: Distinct modes for normal operations, insertion, commands, and searching.
- Mouse Support: Native click-to-move and scroll wheel integration in the terminal.
- Terminal Resize: Graceful
SIGWINCHhandling adjusts the UI to your terminal dimensions instantly. - Extensible Plugin System: Customize and extend the editor's functionality.
- Find and Replace: Robust
/searching and:s/foo/barreplacement operations. - Fast and Efficient: Engineered in Nitpick for high performance text buffering and low latency rendering.
To build the editor, ensure you have the Nitpick compiler installed, then run:
make buildThis produces a neditor executable in .nitpick_make/build/. You can copy it to your path:
cp .nitpick_make/build/neditor ~/.local/bin/neditorRun the entire test suite (including text buffer tests, file I/O tests, and plugin tests) via:
make testSimply run the executable, optionally passing a filename to open:
neditor my_file.txt- h, j, k, l: Navigate in Normal Mode.
- i: Enter Insert Mode.
- ESC: Return to Normal Mode.
- :: Enter Command Mode (e.g.,
:wto save,:qto quit). - /: Enter Search Mode.
- ctrl+s / ctrl+q: Quick save / quit shortcuts.
A man page is available in docs/neditor.1.
man ./docs/neditor.1AGPL v3
This repository is part of the Nitpick ecosystem.
You will need the nitpick-build build system installed and available as npkbld.
You will also need the npkc compiler (version 0.61.x or later) to build.
- Clone the repository
- Run
make - The binary will be output to
.nitpick_make/build/neditor
- 🌍 Nitpick-Lang Hub — The central hub connecting all Nitpick projects.
- 📖 Official Web Documentation — Guides, references, and language specifications.
- 🛠️ Nitpick Compiler — The core language and toolchain.