home ~ projects ~ socials

Open A Text Editor From A Rust App

I use the edit crate to open text editors from inside Rust apps.

Notes

  • This uses the $VISUAL and $EDITOR env vars to figure out what editor to use
  • If neither $VISUAL or $EDITOR are set it falls back to other available editors

TODO

    write up a code example

-- end of line --

References