Skip to content
amadeuszprusPublic

About

Fast, simple text editor with syntax highlighting and code formatting

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

Apedi

Apedi

A fast, simple text editor with syntax highlighting, code formatting, project tree, integrated terminal, and a clean modern GTK 4 interface.

Features

  • Multi-tab, multi-window editor built on GTK 4 + GtkSourceView 5
  • Syntax highlighting for ~150 languages
  • One-shortcut code formatting (Ctrl+Shift+I) — bundled black, prettier, gofmt, rustfmt, clang-format, shfmt
  • Multi-project sidebar with .gitignore awareness, per-extension icons + colors, single-click open, auto-reveal of the active tab
  • Quick Open (Ctrl+P) — fuzzy file picker across all open projects
  • Find in Files (Ctrl+Shift+F) — workspace-wide text search
  • Go to Symbol in file (Ctrl+M) — Python / JS / TS / Rust / Go / Java / C / C++ / Ruby / PHP / shell
  • Go to Symbol in Project (Ctrl+Shift+R) across every open project
  • Split editor (Ctrl+\) with two tab groups
  • Replace in Files (Ctrl+Shift+H) with a per-match preview
  • Tasks (Ctrl+Shift+B) from Makefile, npm, Composer and .apedi/tasks.toml
  • Markdown outline, inline images and HTML / PDF export
  • Integrated terminal (Ctrl+\``) — VTE with bundled bashandzsh`
  • Git awareness - change bars in the gutter (added / modified / removed vs. the last commit, live as you type) and colours in the project tree (modified, new, conflict), refreshed on save and after any commit, checkout or stash
  • Auto-detect dark / light theme from the desktop preference, or pick one from Preferences
  • Search, replace (Ctrl+R), goto line (Ctrl+G)
  • Word wrap on by default — no horizontal scrolling; toggle with Alt+Z
  • Recent files menu, drag & drop
  • Optional autosave (after delay or on focus loss)
  • Crash recovery — drafts persist to ~/.cache/apedi/drafts/
  • File watcher — external changes trigger a reload (or warn if dirty)
  • Localized UI (English, Polski; gettext-based, more translations welcome)
  • Snippets (def, cls, ifmain, console.log, html5, pkgmain, …)
  • Tabbed Preferences (Appearance / Editor / Files / Sidebar / System)
  • What's New dialog on first launch of a new version

Install

From the Ubuntu App Center or the Snap Store:

snap install apedi

Or sideload a local build:

sudo snap install --dangerous ./apedi_*.snap

Keyboard cheat-sheet

Shortcut Action
Ctrl+T New tab
Ctrl+N New window
Ctrl+O Open file
Ctrl+Shift+O Open / add project
Ctrl+S / Ctrl+Shift+S Save / Save As
Ctrl+W Close tab (also middle-click)
Ctrl+Tab / Ctrl+Shift+Tab Next / previous tab
Ctrl+F Find
Ctrl+R Replace
Ctrl+G Goto line
Ctrl+M Goto symbol in file
Ctrl+Shift+R Goto symbol in project
Ctrl+/ Toggle comment
Ctrl+D Select next occurrence
Ctrl+\ Split editor
Ctrl+P Quick Open file
Ctrl+Shift+F Find in Files
Ctrl+Shift+H Replace in Files
Ctrl+Shift+B Run task
Ctrl+Shift+I Format current file
Ctrl+, Preferences
Ctrl+Shift+D Toggle light / dark theme
Ctrl+Alt+M Toggle minimap
F2 Rename selected file / folder
F9 Toggle sidebar
Ctrl+` Toggle terminal
Ctrl+Q Quit

Develop

sudo apt install python3-gi gir1.2-gtk-4.0 gir1.2-gtksource-5 \
    gir1.2-vte-3.91 \
    black clang-format shfmt golang-go rustfmt prettier
pip install -e .
python -m apedi

Build snap

LXD must be initialized; iptables rules may need to allow the LXD bridge if Docker is also installed.

snapcraft

Run tests

pip install -e ".[test]"
pytest -q

License

MIT — see LICENSE.

About

Fast, simple text editor with syntax highlighting and code formatting

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages