EDENX

fast  ·  minimal  ·  encrypted  ·  v0.6.0

A terminal text editor written in Go. Edit any file. Encrypt any secret. No dependencies, no noise.

// Features

Everything you need. Nothing you don't.

🔐
AES-256 Encryption

Save any file as .ednx — encrypted with AES-256-GCM and Argon2id key derivation. Press Ctrl+E.

Syntax Highlighting

Regex-based highlighting for 16 languages: Go, Python, JS/TS, Rust, C/C++, Ruby, PHP, HTML, XML, CSS/SCSS, JSON, YAML, TOML, Markdown, Shell, Makefile.

📑
Multi-Tab Editing

Open multiple files as tabs. Switch with Alt+←/→, create with Ctrl+T, close with Ctrl+W. Click tabs with the mouse.

🔍
Search & Replace

Incremental search (Ctrl+F) and replace (Ctrl+R). Toggle case sensitivity (Ctrl+I) or full regex mode (Ctrl+G) with $1 capture groups in replacements.

🖱️
Mouse Support

Click anywhere to position the cursor. Scroll with the mouse wheel. Click the tab bar to switch buffers. Works alongside all keyboard shortcuts.

🎨
8 Colour Themes

default, monokai, ocean, solarized, rose, green, dark, light. Cycle live with F2. Persisted to ~/.config/eden/config.json.

✏️
Smart Editing

Auto-indent, soft word wrap, bracket matching highlight, word-by-word navigation (Ctrl+←/→), duplicate line (Ctrl+D), move line (Alt+↑/↓).

Undo / Redo

Full-snapshot undo stack (Ctrl+Z / Ctrl+Y) with 100-entry cap. Works across multi-line edits, pastes, and line operations.

📁
File Navigator & Read-Only

Browse and open files without leaving the editor (Ctrl+N). Open files safely with eden -r file or toggle read-only at any time with F3.

// Install

Build from source in seconds.

# Clone the repo
$ git clone https://github.com/antoniu86/edenx
$ cd edenx
# Build and install
$ make
$ make install  # copies eden to /usr/local/bin
# Usage
$ eden file.txt
$ eden secrets.ednx  # opens encrypted file
$ eden --theme monokai notes.md
$ eden -r file.txt  # open read-only
$ eden --help

Requires Go 1.21+. Dependencies are fetched automatically via go mod tidy.

// Shortcuts

Everything at your fingertips.

FILE

Ctrl+SSave
Ctrl+ESave encrypted (.ednx)
Ctrl+QQuit

EDIT

Ctrl+Z / Ctrl+YUndo / Redo
Ctrl+ASelect all
Shift+ArrowExtend selection
Ctrl+CCopy selection
Ctrl+XCut selection
Ctrl+VPaste
Ctrl+DDuplicate line
Ctrl+KDelete to end of line
Alt+↑ / Alt+↓Move line up / down

NAVIGATION

Arrow keysMove cursor
Ctrl+← / Ctrl+→Jump word left / right
Home / EndStart / end of line
PgUp / PgDnScroll by page
Ctrl+JJump to line number
Ctrl+TNew tab
Ctrl+WClose tab
Alt+← / Alt+→Switch tabs
Ctrl+NFile navigator

SEARCH & REPLACE

Ctrl+FSearch
Ctrl+RSearch & Replace
↑ / ↓Previous / next match
Ctrl+IToggle case-insensitive
Ctrl+GToggle regex mode
y / n / aReplace / skip / replace all

VIEW

F1In-editor help overlay
F2Cycle theme
F3Toggle read-only mode

CONFIG

~/.config/eden/config.json
theme default, monokai, ocean, solarized, rose, green, dark, light
tab_width spaces per tab (default: 4)
expand_tabs spaces instead of \t (default: true)
{"theme": "dark", "tab_width": 4}