Files
nix-config/home/base/core/editors

Editors

Shared editor configuration and usage notes for terminal-focused editing.

Roles

  • Helix (helix/): Primary TUI editor — batteries-included, small attack surface. $EDITOR / $VISUAL / $SUDO_EDITOR default to hx system-wide (modules/base/packages.nix), for interactive and privileged (sudoedit) edits alike.
  • Neovim (neovim/): Backup editor — classic vim-style workflow and :help when needed.

Terminal layout and files: Zellij and Yazi live under core/zellij/ and core/yazi.nix (not in this folder).

Docs

  • helix/README.md — Helix basics, cheatsheet, official doc links, Helix vs Neovim notes.
  • neovim/README.md — Vim/Neovim basics, cheatsheet, and official doc links.

Nix modules in helix/ and neovim/ enable each editor via Home Manager. Language servers and other heavy editor-related packages are listed in ../../tui/editors/ (imported from home/base/tui).

Editor terminology (LSP, tree-sitter): Glossary.md.