update: Moved openFileInEditor to the library

* Moved openFileInEditor to go-notetxt to simplify its maintenance

Signed-off-by: mr.Shu <mr@shu.io>