Text Editor

Hako – lightweight terminal-based modal text environment

Hako is a lightweight terminal-based modal text environment written primarily in C.

It focuses on distraction-free editing while giving users a Vim-inspired workflow, split panes, a built-in file explorer named Kami, and an optional in-editor AI assistant named Rei. The project is designed to build with a straightforward gcc command or Makefile, has no third-party libraries linked, and keeps user preferences in .hakorc.

This is free and open source software.

Key Features

  • Vim-inspired normal, insert, visual, and visual-line modes with counts, registers, text objects, marks, jumplist, dot repeat, substitution, and bracket matching.
  • Horizontal and vertical pane splitting, pane switching, resizing, and closing via Ctrl-W commands.
  • Kami file explorer with directory navigation, hidden-file toggle, refresh, and directories-first sorting.
  • Optional Rei coding-agent pane integrates with the editor and supports local models and cloud providers.
  • Syntax highlighting for more than 40 languages including C, C++, Rust, Go, Python, Ruby, JavaScript, TypeScript, Java, Kotlin, Haskell, Swift, YAML, TOML, Dockerfile, and Makefile.
  • Clipboard support with bracketed paste handling and system copy and paste shortcuts.
  • Configurable settings through `.hakorc`, including tab width, indentation, line numbering, mouse support, explorer width, and theme selection.
  • Theme presets include dark, light, gruvbox, nord, dracula, monokai, solarized, tokyonight, catppuccin and other colour schemes.

Website: github.com/mithraeums/hako-edit
Support:
Developer: zblauser
License: GNU General Public License v3.0

HAKO in action
Click image for full size

Hako is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Vim-like Text Editors
NeovimVim-fork focused on extensibility and usability
HelixKakoune / Neovim inspired editor.
LapceModern editor in Rust which uses native GUI and GPU rendering
NvChadNeovim config aiming to provide a base configuration
LunarVimIDE layer for Neovim
KakouneImplements Vi’s "keystrokes as a text editing language" model
VisCombining modal editing with structural regular expressions
vileText editor that combines aspects of the Emacs and vi editors
pyvimImplementation of Vim in Python
gVimVim with a built-in GUI
ampVim-like editor written in Rust
VyVim-like in Python made from scratch
moeCommand-line editor inspired by Vim
wigModal, Vim-like text editor
sledSimple text editor with a terminal UI
redModern modal text editor written in Rust
adAdaptable text editor
hatHackable modal text editor
HAKOLightweight terminal-based modal text environment
xviPortable multi-file text editor
aretextMinimalist text editor with vim-compatible key bindings
LeveeAlso known as Captain Video

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted