yorukot / superfile

Pretty fancy and modern terminal file manager

Home Page:https://superfile.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot change editor

semiherdogan opened this issue · comments

Describe the bug
Hi,
my default editor is hx, and when i try to open file, superfile opens it with nano.

To Reproduce

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

$ spf

# press "e" for opening file

Expected behavior
Open file with helix editor

Screenshots
ss-2024-05-14-g5Gr1YCm

System information

  • OS: MacOS Sonoma
  • Version 14.4.1
  • Superfile Version v1.1.2

Hi, try using export EDITOR={your_editor}, for instance export EDITOR=nvim. You can also add this line to your .bashrc dotfile.

Hope that helps

Hi,
Thank you for your response; it works this way. 👍