How to configure the editor?

Hi, I’m trying out pijul again and it opens up nano when I record or push. How can I configure it to use say emacs or vi instead?

Pijul respects the $EDITOR environment variable, so set that for your shell to your preferred one (either temporarily or in your dotfiles or wherever).

E.g. you can do export EDITOR=vim for vim in bash or set EDITOR "code --wait" for VS Code in fish.

2 Likes