Add yml mode and support for cygwin shell