oha
gitlabTerminal-based fullscreen text editor written in C with file manager and syntax highlighting.
clone
https://gitlab.com/bitzzdev/oha.gitCclicurseslinuxsyntax-highlightingterminaltext-editor
- C97.8%
- Makefile2.2%
oha
oha is a terminal-based fullscreen text editor written in C.
Features:
- Fullscreen compositor-style interface using ANSI terminal control
- Left-side file manager toggled with
Ctrl+E - File explorer uses Nerd Font glyphs for folders, files, and parent directory
- Matching SVG icon assets live in
assets/icons/ - Arrow-key navigation in the editor and file manager
Enteropens files or enters foldersCtrl+Itoggles input modeCtrl+Ssaves the current fileCtrl+Qexits the editorCtrl+Fopens search for similar string matches in the current buffer- Basic syntax highlighting for C-like and shell-style files
Build:
make
Run:
./oha [optional-file]
Install on Linux/macOS:
sudo make install
Windows:
- Build inside a terminal-capable environment such as MSYS2 or MinGW:
make
Notes:
- The program uses standard terminal escape sequences. On Windows, use a terminal that supports ANSI escape codes.
- The terminal UI cannot render SVG directly. The file manager uses Nerd Font glyphs, while the SVG files are kept as dedicated assets.
- For the best icon rendering, use a terminal configured with a Nerd Font. Without one, the icons may appear as missing-character boxes.
- Search uses simple substring matching and jumps to the next match.