View Code? Open in Web Editor
NEW
This project forked from vercel/hyper
A fork of hyper.is that will uses the %editor% environment variable (Windows) to dictate which editor to use.
Home Page: https://hyper.is
License: MIT License
JavaScript 99.54%
HTML 0.46%
hyper's Issues
Instead of relying on the existence of the %editor% environment variable, we should gracefully fallback to using "notepad" if %editor% is not defined.
The code to modify is in lib\actions\ui.js
const command = isWin ? ' start "%editor%" "%userprofile%\\.hyper.js"' : ' bash -c \'exec env ${EDITOR:=nano} ~/.hyper.js\'';