#5670·zellij

$EDITOR isn't respected

Author: nashleyCreated Sep 29, 2026Updated Sep 30, 2026
Labelssuspected bug

2. Issues with the Zellij UI / behavior / crash

Issue description

Setting $EDITOR to an editor that isn't vim is ignored. I have to set $VISUAL for my editor to be respected.

Minimal reproduction

> echo $EDITOR
/opt/homebrew/bin/hx

> echo $VISUAL
# <nothing is returned>

> zellij
# <press `ctrl + s` and then `e`>
# vim (instead of helix) is opened to edit the scrollback buffer

Other relevant information

I'm running zellij 0.45.1 with fish, version 4.9.3 on macOS Version 26.7 (25G229) See https://zellij.dev/news/edit-scrollback-compact/ for why I expect $EDITOR to work

https://github.com/user-attachments/assets/34a47825-d57a-4018-ad63-5fc480837d29