Summary
Currently tnc supports a limited set of external text editors. Extend the editor integration to include modern, user-friendly TUI editors that users may prefer over vi/nano.
Motivation
Different users have different editor preferences. Modern TUI editors like micro offer GUI-like keybindings (Ctrl+S, Ctrl+C/V) that are more approachable than modal editors. Supporting a broader list out-of-the-box improves UX without forcing users into config-file editing.
Proposed editors to support
- micro — modern, intuitive, mouse + standard shortcuts
- ne (GNU nice editor) — menu-driven, traditional friendly UX
- helix — modal, LSP built-in, discoverable
- kakoune — selection-first modal editor
- neovim — already common, ensure first-class support
- emacs -nw — terminal Emacs
Acceptance criteria
Notes
$EDITOR / $VISUAL should take precedence over any built-in detection to respect user environment.
Summary
Currently tnc supports a limited set of external text editors. Extend the editor integration to include modern, user-friendly TUI editors that users may prefer over vi/nano.
Motivation
Different users have different editor preferences. Modern TUI editors like
microoffer GUI-like keybindings (Ctrl+S, Ctrl+C/V) that are more approachable than modal editors. Supporting a broader list out-of-the-box improves UX without forcing users into config-file editing.Proposed editors to support
Acceptance criteria
$EDITOR/$VISUALenvironment variables as the default$VISUAL→$EDITOR→ first detected from known list →viNotes
$EDITOR/$VISUALshould take precedence over any built-in detection to respect user environment.