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.
  • Rei AI panel with Anthropic, OpenAI, and Ollama provider choices, SSE streaming, slash commands, project trust, and per-project history.
  • 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.
  • Seventeen theme presets including dark, light, gruvbox, nord, dracula, monokai, solarized, tokyonight, catppuccin, onedark, material, everforest, rosepine, github-dark, github-light, ayu, and kanagawa.

Website: github.com/zblauser/hako
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
adAdaptable text editor
LeveeAlso known as Captain Video
xviPortable multi-file text editor

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted