You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, broot creates a config file with edit and view tools predefined. I think, for most users the default/expected behaviour would be to use tools set in EDITOR (with fallback to vi?) and PAGER (with fallback to less?) environment variables.
The text was updated successfully, but these errors were encountered:
The problem is not so many users have those variables defined, which means you need to ask users to define an editor in the config anyway. I didn't see any obvious way to make that clear for users.
To clarify, the behavior I'm talking about is: when invoking an edit use tool defined in config; if not defined, fallback to EDITOR; if the variable is not set, fallback to vim. The same for open. I don't think it requires more explanation in the docs.
P.S: with current defaults edit doesn't work for me, because I have neovim installed in another path.
Currently,
broot
creates a config file withedit
andview
tools predefined. I think, for most users the default/expected behaviour would be to use tools set inEDITOR
(with fallback tovi
?) andPAGER
(with fallback toless
?) environment variables.The text was updated successfully, but these errors were encountered: